List:Eventum General Discussion« Previous MessageNext Message »
From:Jason Etheridge Date:May 7 2004 12:51pm
Subject:Re: auto-associate incoming email with issue
View as plain text  
Joao Prado Maia wrote:
> Were you ever able to fix these problems? I would be curious to see whether
> you have the correct configuration for the email routing, since the To:
> header in the example email seems correct to me.

Let's see, I just installed the 20040507 build.  Still not working.  It 
gets hung up on this piece of code in route_emails.php:

// check if sender email address is associated with a real user
if (!Support::isAllowedToEmail($issue_id, $sender_email)) {
     $body = Support::getMessageBody($structure);
     // add the message body as a note
     $HTTP_POST_VARS = array(
         'blocked_msg' => addslashes($full_message),
         'title'       => "Blocked email message",
         'note'        => addslashes($body),
         'issue_id'    => $issue_id
     );
     Note::insert();
     exit();
}

If I comment this block out, the email gets associated.

And for some reason, I can't get print statements to work from within 
that block.  Hrmm.

-- Jason

Thread
FW: auto-associate incoming email with issueJoao Prado Maia15 Apr
  • RE: auto-associate incoming email with issueJoao Prado Maia16 Apr
    • Re: auto-associate incoming email with issueJason Etheridge16 Apr
      • RE: auto-associate incoming email with issueJoao Prado Maia16 Apr
        • Re: auto-associate incoming email with issueJason Etheridge16 Apr
          • RE: auto-associate incoming email with issueJoao Prado Maia16 Apr
            • Re: auto-associate incoming email with issueJason Etheridge19 Apr
              • RE: auto-associate incoming email with issueJoao Prado Maia7 May
                • Re: auto-associate incoming email with issueJason Etheridge8 May
                  • RE: auto-associate incoming email with issueJoao Prado Maia10 May
                    • Re: auto-associate incoming email with issueJason Etheridge11 May
                      • RE: auto-associate incoming email with issueJoao Prado Maia11 May