Problem with incoming emails (when they come from a php sent email) - not outlook.

Added by Ezequiel Naftali over 11 years ago

Hi,
I´ve been using redmine for a while. I have configured the receivingemail function without problem.
Everything works right when I send emails to redmine using outlook for example.

Now, we want to integrate our intranet to redmine. Those emails sent by the application are not
processed by redmine rake (they are skipped). I've checked the user, the project but everything seems to be ok.
What am I missing? we use php mail() function using UTF8 as encodig (we also tried with iso-8859-1).

Thanks

Replies (5)

RE: Problem with incoming emails (when they come from a php sent email) - not outlook. - Added by Felix Schäfer over 11 years ago

Are they skipped as in not read, or skipped as in read and not processed? Could you provide the raw form of a mail sent by your php app?

RE: Problem with incoming emails (when they come from a php sent email) - not outlook. - Added by Ezequiel Naftali over 11 years ago

I get the following message: Messaga <xxxx....> NOT processed and left on the server.

Message source is:

Return-Path: <>
Delivered-To:
Received: (qmail 28963 invoked by uid 19850); 27 Aug 2010 18:18:07 -0000
Received: from unknown (HELO hugo) ([190.139.211.180])
(envelope-sender <>)
by 199.237.205.138 (qmail-ldap-1.03) with SMTP
for <>; 27 Aug 2010 18:18:07 -0000
Received: from hugo ([127.0.0.1]) by hugo with Microsoft SMTPSVC;
Fri, 27 Aug 2010 15:18:05 -0300
Date: Fri, 27 Aug 2010 15:18:05 -0300
Subject: Encuesta de Satisfacción de Clientes - Proyecto: 987
To:
From: <>
Reply-To:
MIME-Version: 1.0
Content-Type: text/html; charset=utf-8
X-Priority: 0
X-Mailer: PHP / 5.2.13
Return-Path:
Message-ID: <HUGOylH9pWNimBzw2Bx00000006@hugo>
X-OriginalArrivalTime: 27 Aug 2010 18:18:05.0506 (UTC) FILETIME=[3190E220:01CB4614]

content of email...

Thanks

RE: Problem with incoming emails (when they come from a php sent email) - not outlook. - Added by Felix Schäfer over 11 years ago

Well, you have to make sure that either errorhandler@pisol.net is a valid user email in redmine OR that anonymous user have the right to create tickets in redmine OR that you give the proper options to the mail-fetching rake-task for that to happen. Secondly, you also have to specify a project those emails should create an issue in, either through the proper option to the mail-fetching rake-task OR through the "mail keyword" Project: some-project-identifier (has to be on its own line).

RE: Problem with incoming emails (when they come from a php sent email) - not outlook. - Added by Ezequiel Naftali over 11 years ago

I have created the user, I add the project line to the body of email (rake assigns a default project also).
The curious thing is when I send the same email using my outlook (with errorhandler@ account configured in it) the email is processed without problem. is it possible to be a headers problem?

RE: Problem with incoming emails (when they come from a php sent email) - not outlook. - Added by Felix Schäfer over 11 years ago

Compare the raw forms of both mails, then you might see something different :-)

(1-5/5)