Community Discussions and Support
Mercury sees SMTP connection but email can't be retrieved through POP

wp_mail() uses a 3rd party PHP class called PHPMailer, and it instructs that class to use PHP's built-in mail() function.

I looked through the PHPMailer function and there is a from$ variable for the MAIL TO: used as well as a from$ for the message body variable.  It might be that WordPress is using the same variable for both and if so this is a bug in WordPress.  The IAW RFC 2821 the MAIL FROM:  field is a simple SMTP email address in <>, i.e. <user@domain>, while IAW RFC 2822 the message From: field can be in the form  email@address, or "Personal Name"<email.address>, or email@address (Personal Name). 

It's hard to tell what WordPress is doing and why but I would report a bug to WordPress at least.  The way I see this working I have no idea why WordPress is using the "wordpress@localhost" <wordpress@localhost> since the data in both fields is a SMTP email address with no personal name at all.

 

&lt;blockquote&gt;wp_mail() uses a 3rd party PHP class called &lt;a href=&quot;http://phpmailer.codeworxtech.com/index.php?pg=phpmailer&quot;&gt;PHPMailer&lt;/a&gt;, and it instructs that class to use PHP&#039;s built-in &lt;a href=&quot;http://www.php.net/manual/en/function.mail.php&quot;&gt;mail() function&lt;/a&gt;.&lt;/blockquote&gt;&lt;p&gt;I looked through the PHPMailer function and there is a from$ variable for the MAIL TO: used as well as a from$ for the message body variable.&amp;nbsp; It might be that WordPress is using the same variable for both and if so this is a bug in WordPress.&amp;nbsp; The IAW RFC 2821 the MAIL FROM:&amp;nbsp; field is a simple SMTP email address in &amp;lt;&amp;gt;, i.e. &amp;lt;user@domain&amp;gt;, while IAW RFC 2822 the message From: field can be in the form&amp;nbsp; email@address, or &quot;Personal Name&quot;&amp;lt;email.address&amp;gt;, or email@address (Personal Name).&amp;nbsp; &lt;/p&gt;&lt;p&gt;It&#039;s hard to tell what WordPress is doing and why but I would report a bug to WordPress at least.&amp;nbsp; The way I see this working I have no idea why WordPress is using the &quot;wordpress@localhost&quot; &amp;lt;wordpress@localhost&amp;gt; since the data in both fields is a SMTP email address with no personal name at all. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

I'm using PHP to send an email. The function I'm using is specific to WordPress. It is called wp_mail(). It uses a class called PHPMailer, but it instructs that class to use PHP's mail(). The funny thing is that mail() works OK. In the same script, simply changing mail() to wp_mail() breaks the script. However,  the wp_mail()-containing script works fine on my live Bluehost-managed server. (Of course, I have to change the @localhost addresses to real email addresses on the live version.)

In the SMTP logs, Mercury shows that emails with wp_mail() contain more lines of data; 14 versus 6. I suspect this is header information and the basis on which Mercury decides not to do what I would like it to do, which is delivering those emails...

Can someone please help?

Oh, forgot to mention, I'm using Mercury as it came with XAMPP. I'm doing local PHP development.

&lt;p&gt;I&#039;m using PHP to send an email. The function I&#039;m using is specific to WordPress. It is called wp_mail(). It uses a class called PHPMailer, but it instructs that class to use PHP&#039;s mail(). The funny thing is that mail() works OK. In the same script, simply changing mail() to wp_mail() breaks the script. However,&amp;nbsp; the wp_mail()-containing script works fine on my live Bluehost-managed server. (Of course, I have to change the @localhost addresses to real email addresses on the live version.) &lt;/p&gt;&lt;p&gt;In the SMTP logs, Mercury shows that emails with wp_mail() contain more lines of data; 14 versus 6. I suspect this is header information and the basis on which Mercury decides not to do what I would like it to do, which is delivering those emails...&lt;/p&gt;&lt;p&gt;Can someone please help? &lt;/p&gt;&lt;p&gt;Oh, forgot to mention, I&#039;m using Mercury as it came with XAMPP. I&#039;m doing local PHP development. &lt;/p&gt;

In the SMTP logs, Mercury shows that emails with wp_mail() contain

more lines of data; 14 versus 6. I suspect this is header information

and the basis on which Mercury decides not to do what I would like it

to do, which is delivering those emails...

Can someone please help?

I suspect that to wp_mail() script it not doing a valid SMTP transfer.  Turn on session logging in MercuryS and then submit a copy of the session log.

Oh, forgot to mention, I'm using Mercury as it came with XAMPP. I'm doing local PHP development.
Should upgrade Mercury to the latest version. Also check all of the Mercury configuration screens, the XAMPP installer does NOT do a good job with the install, especially the domains section.
&lt;blockquote&gt;&lt;p&gt;In the SMTP logs, Mercury shows that emails with wp_mail() contain more lines of data; 14 versus 6. I suspect this is header information and the basis on which Mercury decides not to do what I would like it to do, which is delivering those emails...&lt;/p&gt;&lt;p&gt;Can someone please help? &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;I suspect that to wp_mail() script it not doing a valid SMTP transfer.&amp;nbsp; Turn on session logging in MercuryS and then submit a copy of the session log. &lt;/p&gt;&lt;blockquote&gt;Oh, forgot to mention, I&#039;m using Mercury as it came with XAMPP. I&#039;m doing local PHP development. &lt;/blockquote&gt;Should upgrade Mercury to the latest version. Also check all of the Mercury configuration screens, the XAMPP installer does NOT do a good job with the install, especially the domains section.

Hi Thomas,

I just updated to the latest version of Mercury. Though, since I requested update only (not full re-install), the XAMPP settings were preserved.

Here's the session log for MercuryS,

01:12:33.634: Connection from 127.0.0.1, Sun Apr 12 01:12:33 2009<lf>
01:12:33.650: << 220 localhost ESMTP server ready.<cr><lf>
01:12:33.666: >> HELO msafi-PC<cr><lf>
01:12:33.666: << 250 localhost Hello, msafi-PC.<cr><lf>
01:12:33.666: >> MAIL FROM:<"wordpress@localhost" <wordpress@localhost>><cr><lf>
01:12:33.681: << 250 Sender OK - send RCPTs.<cr><lf>
01:12:33.681: >> RCPT TO:<emailer1@localhost><cr><lf>
01:12:33.697: << 250 Recipient OK - send RCPT or DATA.<cr><lf>
01:12:33.697: >> DATA<cr><lf>
01:12:33.697: << 354 OK, send data, end with CRLF.CRLF<cr><lf>
01:12:33.697: >> Subject: test<cr><lf>
01:12:33.697: >> To: emailer1@localhost<cr><lf>
01:12:33.697: >> Date: Sun, 12 Apr 2009 01:12:33 +0400<cr><lf>
01:12:33.697: >> Return-Path: wordpress@localhost<cr><lf>
01:12:33.697: >> From: "wordpress@localhost" <wordpress@localhost><cr><lf>
01:12:33.697: >> Message-ID: <66a9a200da21aed69bd9063a6cb59aa2@localhost><cr><lf>
01:12:33.697: >> X-Priority: 3<cr><lf>
01:12:33.697: >> X-Mailer: PHPMailer (phpmailer.sourceforge.net) [version 2.0.2]<cr><lf>
01:12:33.712: >> MIME-Version: 1.0<cr><lf>
01:12:33.712: >> Content-Transfer-Encoding: 8bit<cr><lf>
01:12:33.712: >> Content-Type: text/plain; charset="UTF-8"<cr><lf>
01:12:33.712: >> <cr><lf>
01:12:33.712: >> here you go<lf>
01:12:33.712: >> <cr><lf>
01:12:33.712: >> .<cr><lf>
01:12:33.712: << 250 Data received OK.<cr><lf>
01:12:33.712: >> QUIT<cr><lf>
01:12:33.728: << 221 localhost Service closing channel.<cr><lf>
01:12:33.728: --- Connection closed normally at Sun Apr 12 01:12:33 2009. ---
01:12:33.728:

 

(Off topic: By the way, the email notification in this forum isn't working for me. Another website that uses this forum software also doesn't send me email notifications!)

&lt;p&gt;Hi Thomas,&lt;/p&gt;&lt;p&gt;I just updated to the latest version of Mercury. Though, since I requested update only (not full re-install), the XAMPP settings were preserved.&lt;/p&gt;&lt;p&gt;Here&#039;s the session log for MercuryS,&lt;/p&gt;&lt;blockquote&gt;01:12:33.634: Connection from 127.0.0.1, Sun Apr 12 01:12:33 2009&amp;lt;lf&amp;gt; 01:12:33.650: &amp;lt;&amp;lt; 220 localhost ESMTP server ready.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.666: &amp;gt;&amp;gt; HELO msafi-PC&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.666: &amp;lt;&amp;lt; 250 localhost Hello, msafi-PC.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.666: &amp;gt;&amp;gt; MAIL FROM:&amp;lt;&quot;wordpress@localhost&quot; &amp;lt;wordpress@localhost&amp;gt;&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.681: &amp;lt;&amp;lt; 250 Sender OK - send RCPTs.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.681: &amp;gt;&amp;gt; RCPT TO:&amp;lt;emailer1@localhost&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.697: &amp;lt;&amp;lt; 250 Recipient OK - send RCPT or DATA.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.697: &amp;gt;&amp;gt; DATA&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.697: &amp;lt;&amp;lt; 354 OK, send data, end with CRLF.CRLF&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.697: &amp;gt;&amp;gt; Subject: test&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.697: &amp;gt;&amp;gt; To: emailer1@localhost&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.697: &amp;gt;&amp;gt; Date: Sun, 12 Apr 2009 01:12:33 +0400&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.697: &amp;gt;&amp;gt; Return-Path: wordpress@localhost&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.697: &amp;gt;&amp;gt; From: &quot;wordpress@localhost&quot; &amp;lt;wordpress@localhost&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.697: &amp;gt;&amp;gt; Message-ID: &amp;lt;66a9a200da21aed69bd9063a6cb59aa2@localhost&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.697: &amp;gt;&amp;gt; X-Priority: 3&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.697: &amp;gt;&amp;gt; X-Mailer: PHPMailer (phpmailer.sourceforge.net) [version 2.0.2]&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.712: &amp;gt;&amp;gt; MIME-Version: 1.0&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.712: &amp;gt;&amp;gt; Content-Transfer-Encoding: 8bit&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.712: &amp;gt;&amp;gt; Content-Type: text/plain; charset=&quot;UTF-8&quot;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.712: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.712: &amp;gt;&amp;gt; here you go&amp;lt;lf&amp;gt; 01:12:33.712: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.712: &amp;gt;&amp;gt; .&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.712: &amp;lt;&amp;lt; 250 Data received OK.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.712: &amp;gt;&amp;gt; QUIT&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.728: &amp;lt;&amp;lt; 221 localhost Service closing channel.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:12:33.728: --- Connection closed normally at Sun Apr 12 01:12:33 2009. --- 01:12:33.728: &lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;(Off topic: By the way, the email notification in this forum isn&#039;t working for me. Another website that uses this forum software also doesn&#039;t send me email notifications!) &lt;/p&gt;

Well, I don't who's receiving those messages, but it's not me.

In the same script, simply changing wp_mail() to mail() produces the following session log:

01:35:52.558: Connection from 127.0.0.1, Sun Apr 12 01:35:52 2009<lf>
01:35:52.558: << 220 localhost ESMTP server ready.<cr><lf>
01:35:52.558: >> HELO msafi-PC<cr><lf>
01:35:52.558: << 250 localhost Hello, msafi-PC.<cr><lf>
01:35:52.558: >> MAIL FROM:<wordpress@localhost><cr><lf>
01:35:52.573: << 250 Sender OK - send RCPTs.<cr><lf>
01:35:52.573: >> RCPT TO:<emailer1@localhost><cr><lf>
01:35:52.573: << 250 Recipient OK - send RCPT or DATA.<cr><lf>
01:35:52.573: >> DATA<cr><lf>
01:35:52.589: << 354 OK, send data, end with CRLF.CRLF<cr><lf>
01:35:52.589: >> Date: Sun, 12 Apr 2009 01:35:52 +0400<cr><lf>
01:35:52.589: >> Subject: test<cr><lf>
01:35:52.589: >> To: emailer1@localhost<cr><lf>
01:35:52.589: >> from: wordpress@localhost<cr><lf>
01:35:52.589: >> <cr><lf>
01:35:52.589: >> here you go<cr><lf>
01:35:52.620: >> .<cr><lf>
01:35:52.620: << 250 Data received OK.<cr><lf>
01:35:52.620: >> QUIT<cr><lf>
01:35:52.620: << 221 localhost Service closing channel.<cr><lf>
01:35:52.620: --- Connection closed normally at Sun Apr 12 01:35:52 2009. ---
01:35:52.636:

And with this one, I do actually receive the message in my Windows Mail client.

&lt;p&gt;Well, I don&#039;t who&#039;s receiving those messages, but it&#039;s not me.&lt;/p&gt;&lt;p&gt;In the same script, simply changing wp_mail() to mail() produces the following session log:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;01:35:52.558: Connection from 127.0.0.1, Sun Apr 12 01:35:52 2009&amp;lt;lf&amp;gt; 01:35:52.558: &amp;lt;&amp;lt; 220 localhost ESMTP server ready.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.558: &amp;gt;&amp;gt; HELO msafi-PC&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.558: &amp;lt;&amp;lt; 250 localhost Hello, msafi-PC.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.558: &amp;gt;&amp;gt; MAIL FROM:&amp;lt;wordpress@localhost&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.573: &amp;lt;&amp;lt; 250 Sender OK - send RCPTs.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.573: &amp;gt;&amp;gt; RCPT TO:&amp;lt;emailer1@localhost&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.573: &amp;lt;&amp;lt; 250 Recipient OK - send RCPT or DATA.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.573: &amp;gt;&amp;gt; DATA&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.589: &amp;lt;&amp;lt; 354 OK, send data, end with CRLF.CRLF&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.589: &amp;gt;&amp;gt; Date: Sun, 12 Apr 2009 01:35:52 +0400&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.589: &amp;gt;&amp;gt; Subject: test&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.589: &amp;gt;&amp;gt; To: emailer1@localhost&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.589: &amp;gt;&amp;gt; from: wordpress@localhost&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.589: &amp;gt;&amp;gt; &amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.589: &amp;gt;&amp;gt; here you go&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.620: &amp;gt;&amp;gt; .&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.620: &amp;lt;&amp;lt; 250 Data received OK.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.620: &amp;gt;&amp;gt; QUIT&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.620: &amp;lt;&amp;lt; 221 localhost Service closing channel.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.620: --- Connection closed normally at Sun Apr 12 01:35:52 2009. --- 01:35:52.636:&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;And with this one, I do actually receive the message in my Windows Mail client. &lt;/p&gt;

I just updated to the latest version of Mercury. Though, since I

requested update only (not full re-install), the XAMPP settings were

preserved.

Here's the session log for MercuryS,

01:12:33.681: >> RCPT TO:<emailer1@localhost><cr><lf>

Perfectly normal message and should be delivered to the local user "emailer1" assuming the domain "localhost" is in the mercury domain list.

 (Off topic: By the way, the email notification in this forum isn't

working for me. Another website that uses this forum software also

doesn't send me email notifications!)

Works for me, what email address are you using for the deliveries?

&lt;blockquote&gt;&lt;p&gt;I just updated to the latest version of Mercury. Though, since I requested update only (not full re-install), the XAMPP settings were preserved.&lt;/p&gt;&lt;p&gt;Here&#039;s the session log for MercuryS,&lt;/p&gt;&lt;p&gt;01:12:33.681: &amp;gt;&amp;gt; RCPT TO:&amp;lt;emailer1@localhost&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Perfectly normal message and should be delivered to the local user &quot;emailer1&quot; assuming the domain &quot;localhost&quot; is in the mercury domain list.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;(Off topic: By the way, the email notification in this forum isn&#039;t working for me. Another website that uses this forum software also doesn&#039;t send me email notifications!)&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Works for me, what email address are you using for the deliveries? &lt;/p&gt;

[quote user="Thomas R. Stephenson"]Perfectly normal message and should be delivered to the local user

"emailer1" assuming the domain "localhost" is in the mercury domain

list.[/quote]

Strange...What can be done to solve this problem then?

[quote user="Thomas R. Stephenson"]Works for me, what email address are you using for the deliveries? [/quote]

The address that I registered with. I clicked on my name, then went to the "email" tab, and changed the setting to enable/allow email notifications; maybe now it will work.

 

[quote user=&quot;Thomas R. Stephenson&quot;]Perfectly normal message and should be delivered to the local user &quot;emailer1&quot; assuming the domain &quot;localhost&quot; is in the mercury domain list.[/quote] &lt;p&gt;Strange...What can be done to solve this problem then?&lt;/p&gt; [quote user=&quot;Thomas R. Stephenson&quot;]Works for me, what email address are you using for the deliveries? [/quote] &lt;p&gt;The address that I registered with. I clicked on my name, then went to the &quot;email&quot; tab, and changed the setting to enable/allow email notifications; maybe now it will work. &lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt;

Well, I don't who's receiving those messages, but it's not me.

In the same script, simply changing wp_mail() to mail() produces the following session log:

01:35:52.558: Connection from 127.0.0.1, Sun Apr 12 01:35:52 2009<lf>
01:35:52.558: << 220 localhost ESMTP server ready.<cr><lf>
01:35:52.558: >> HELO msafi-PC<cr><lf>
01:35:52.558: << 250 localhost Hello, msafi-PC.<cr><lf>
01:35:52.558: >> MAIL FROM:<wordpress@localhost><cr><lf>
01:35:52.573: << 250 Sender OK - send RCPTs.<cr><lf>
01:35:52.573: >> RCPT TO:<emailer1@localhost><cr><lf>

Also perfectly normal mail to local account "emailer1".

And with this one, I do actually receive the message in my Windows Mail client.

Then you might want to check the CNM files in the emailer1 directory.  These were both received properly by MercuryS and should have been delivered to the same local account unless there is something else deleting the message.  Check the system log and the core screen.

 

 

&lt;blockquote&gt;&lt;p&gt;Well, I don&#039;t who&#039;s receiving those messages, but it&#039;s not me.&lt;/p&gt;&lt;p&gt;In the same script, simply changing wp_mail() to mail() produces the following session log:&lt;/p&gt;&lt;/blockquote&gt;&lt;blockquote&gt;01:35:52.558: Connection from 127.0.0.1, Sun Apr 12 01:35:52 2009&amp;lt;lf&amp;gt; 01:35:52.558: &amp;lt;&amp;lt; 220 localhost ESMTP server ready.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.558: &amp;gt;&amp;gt; HELO msafi-PC&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.558: &amp;lt;&amp;lt; 250 localhost Hello, msafi-PC.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.558: &amp;gt;&amp;gt; MAIL FROM:&amp;lt;wordpress@localhost&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.573: &amp;lt;&amp;lt; 250 Sender OK - send RCPTs.&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt; 01:35:52.573: &amp;gt;&amp;gt; RCPT TO:&amp;lt;emailer1@localhost&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/blockquote&gt;&lt;p&gt;Also perfectly normal mail to local account &quot;emailer1&quot;.&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;And with this one, I do actually receive the message in my Windows Mail client.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Then you might want to check the CNM files in the emailer1 directory.&amp;nbsp; These were both received properly by MercuryS and should have been delivered to the same local account unless there is something else deleting the message.&amp;nbsp; Check the system log and the core screen.&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;

[quote user="Thomas R. Stephenson"]

Then you might want to check the CNM files in the emailer1 directory.  These were both received properly by MercuryS and should have been delivered to the same local account unless there is something else deleting the message.  Check the system log and the core screen.

[/quote]

C:\xampp\MercuryMail\MAIL\emailer1 doesn't contain any CNM files. C:\xampp\MercuryMail\MAIL\Admin has a bunch of them.

Could you please tell me what the "system log" and "core screen" are?

[quote user=&quot;Thomas R. Stephenson&quot;]&lt;p&gt;Then you might want to check the CNM files in the emailer1 directory.&amp;nbsp; These were both received properly by MercuryS and should have been delivered to the same local account unless there is something else deleting the message.&amp;nbsp; Check the system log and the core screen.&lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;C:\xampp\MercuryMail\MAIL\emailer1 doesn&#039;t contain any CNM files. C:\xampp\MercuryMail\MAIL\Admin has a bunch of them.&lt;/p&gt;&lt;p&gt;Could you please tell me what the &quot;system log&quot; and &quot;core screen&quot; are? &lt;/p&gt;

[quote user="msafi"][quote user="Thomas R. Stephenson"]Perfectly normal message and should be delivered to the local user

"emailer1" assuming the domain "localhost" is in the mercury domain

list.[/quote]

Strange...What can be done to solve this problem then?

Solve what problem?  The mail is being properly delivered.  Should be a CNM file in the user emailer1 directory. You have got to verify the delivery all the way to the users mail directory though.  It's always possible that you have setup some filter, content control, daemon to delete the message after it was received.  Like I say, XAMPP does not do a very good Mercury/32 install and you need to go through and verify the setup.

[quote user="Thomas R. Stephenson"]Works for me, what email address are you using for the deliveries? [/quote]

The address that I registered with. I clicked on my name, then went to the "email" tab, and changed the setting to enable/allow email notifications; maybe now it will work.

Have you setup the various forums to send the mail to you?[/quote]

&lt;blockquote&gt;&lt;blockquote&gt;[quote user=&quot;msafi&quot;][quote user=&quot;Thomas R. Stephenson&quot;]Perfectly normal message and should be delivered to the local user &quot;emailer1&quot; assuming the domain &quot;localhost&quot; is in the mercury domain list.[/quote] &lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;Strange...What can be done to solve this problem then?&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Solve what problem?&amp;nbsp; The mail is being properly delivered.&amp;nbsp; Should be a CNM file in the user emailer1 directory. You have got to verify the delivery all the way to the users mail directory though.&amp;nbsp; It&#039;s always possible that you have setup some filter, content control, daemon to delete the message after it was received.&amp;nbsp; Like I say, XAMPP does not do a very good Mercury/32 install and you need to go through and verify the setup. &lt;/p&gt;&lt;blockquote&gt;&lt;blockquote&gt; [quote user=&quot;Thomas R. Stephenson&quot;]Works for me, what email address are you using for the deliveries? [/quote] &lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;p&gt;The address that I registered with. I clicked on my name, then went to the &quot;email&quot; tab, and changed the setting to enable/allow email notifications; maybe now it will work. &lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Have you setup the various forums to send the mail to you?[/quote]&lt;/p&gt;

[quote user="Thomas R. Stephenson"]

Solve what problem?  The mail is being properly delivered.  Should be a CNM file in the user emailer1 directory. You have got to verify the delivery all the way to the users mail directory though.  It's always possible that you have setup some filter, content control, daemon to delete the message after it was received.  Like I say, XAMPP does not do a very good Mercury/32 install and you need to go through and verify the setup.

Have you setup the various forums to send the mail to you?

[/quote]

As mentioned in the previous post, there are no CNM files in emailer1 directory. I deleted all the listed filtering rules and content controls. I don't know what "daemon" is, though. I've actually been trying to solve this problem for several hours now as my work depends on getting this to work. In the process, I have become some what familiar with the various screens that Mercury has, but I still don't see where this email is getting deleted or why it would be deleted, given that a very similar email gets through OK!

 (Changing the settings in the user profile seem to have solved the email notification problem in the forum)

[quote user=&quot;Thomas R. Stephenson&quot;]&lt;p&gt;Solve what problem?&amp;nbsp; The mail is being properly delivered.&amp;nbsp; Should be a CNM file in the user emailer1 directory. You have got to verify the delivery all the way to the users mail directory though.&amp;nbsp; It&#039;s always possible that you have setup some filter, content control, daemon to delete the message after it was received.&amp;nbsp; Like I say, XAMPP does not do a very good Mercury/32 install and you need to go through and verify the setup. &lt;/p&gt;&lt;p&gt;Have you setup the various forums to send the mail to you?&lt;/p&gt;&lt;p&gt;[/quote]&lt;/p&gt;&lt;p&gt;As mentioned in the previous post, there are no CNM files in emailer1 directory. I deleted all the listed filtering rules and content controls. I don&#039;t know what &quot;daemon&quot; is, though. I&#039;ve actually been trying to solve this problem for several hours now as my work depends on getting this to work. In the process, I have become some what familiar with the various screens that Mercury has, but I still don&#039;t see where this email is getting deleted or why it would be deleted, given that a very similar email gets through OK!&lt;/p&gt;&lt;p&gt;&amp;nbsp;(Changing the settings in the user profile seem to have solved the email notification problem in the forum) &lt;/p&gt;

As mentioned in the previous post, there are no CNM files in emailer1

directory.

 I assume you are checking the email1 directory and looking for *.CNM files and opening them with a ASCII editor like note pad to verify.  Since both messages are being received identically you need to verify the delivery process.  Check the system log.  See if core is deleting it for any reason.  Check the Windows | System message for signs of a message being deleted.  Since both files were properly received by mercuryS then there should be an associated MG*.QCF/QDF file pair.  
I deleted all the listed filtering rules and content

controls. I don't know what "daemon" is, though. I've actually been

trying to solve this problem for several hours now as my work depends

on getting this to work. In the process, I have become some what

familiar with the various screens that Mercury has, but I still don't

see where this email is getting deleted or why it would be deleted,

given that a very similar email gets through OK!

Any number of reasons but you are the one that has to figure that one out by tracing it through the system. No received message would be deleted without some error message showing up someplace in the path.   It's getting through MercuryS so if it's not getting to the correct new mail directory that must be some indication why in the logs.

I'm getting to hate XAMPP.  The automated install is pretty bad and the installing user never gets to see any of the things that needs to be done to get this fully operational in a real world environment.

 
&lt;blockquote&gt;As mentioned in the previous post, there are no CNM files in emailer1 directory. &lt;/blockquote&gt;&amp;nbsp;I assume you are checking the email1 directory and looking for *.CNM files and opening them with a ASCII editor like note pad to verify.&amp;nbsp; Since both messages are being received identically you need to verify the delivery process.&amp;nbsp; Check the system log.&amp;nbsp; See if core is deleting it for any reason.&amp;nbsp; Check the Windows | System message for signs of a message being deleted.&amp;nbsp; Since both files were properly received by mercuryS then there should be an associated MG*.QCF/QDF file pair. &amp;nbsp; &lt;blockquote&gt;I deleted all the listed filtering rules and content controls. I don&#039;t know what &quot;daemon&quot; is, though. I&#039;ve actually been trying to solve this problem for several hours now as my work depends on getting this to work. In the process, I have become some what familiar with the various screens that Mercury has, but I still don&#039;t see where this email is getting deleted or why it would be deleted, given that a very similar email gets through OK!&lt;/blockquote&gt;&lt;p&gt;Any number of reasons but you are the one that has to figure that one out by tracing it through the system. No received message would be deleted without some error message showing up someplace in the path.&amp;nbsp;&amp;nbsp; It&#039;s getting through MercuryS so if it&#039;s not getting to the correct new mail directory that must be some indication why in the logs. &lt;/p&gt;&lt;p&gt;I&#039;m getting to hate XAMPP.&amp;nbsp; The automated install is pretty bad and the installing user never gets to see any of the things that needs to be done to get this fully operational in a real world environment. &lt;/p&gt;&lt;blockquote&gt;&amp;nbsp;&lt;/blockquote&gt;

C:\xampp\MercuryMail\MAIL\emailer1 doesn't contain any CNM files. C:\xampp\MercuryMail\MAIL\Admin has a bunch of them.

Use the XAMPP control panel and hit Mercury admin  to open the Mercury GUI interface.  Pause the MercuryP and MercuryI windows to ensure that they are not being downloaded and deleted by a client.

Could you please tell me what the "system log" and "core screen" are?
If you hit the admin button panel and then hit Window | Tile you should  a window called "Mercury core process".  The System log is wherever you set it up in Configuration | Mercury core | Files


&lt;blockquote&gt;&lt;p&gt;C:\xampp\MercuryMail\MAIL\emailer1 doesn&#039;t contain any CNM files. C:\xampp\MercuryMail\MAIL\Admin has a bunch of them.&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Use the XAMPP control panel and hit Mercury admin&amp;nbsp; to open the Mercury GUI interface.&amp;nbsp; Pause the MercuryP and MercuryI windows to ensure that they are not being downloaded and deleted by a client. &lt;/p&gt;&lt;blockquote&gt;Could you please tell me what the &quot;system log&quot; and &quot;core screen&quot; are? &lt;/blockquote&gt;If you hit the admin button panel and then hit Window | Tile you should&amp;nbsp; a window called &quot;Mercury core process&quot;.&amp;nbsp; The System log is wherever you set it up in Configuration | Mercury core | Files

MAIL FROM in the wp_mail session appears to be broken:

01:12:33.666: >> MAIL FROM:<"wordpress@localhost" <wordpress@localhost>><cr><lf>

It should be just "MAIL FROM: <wordpress@localhost>" (no nested brackets).

/Rolf 

&lt;p&gt;MAIL FROM in the wp_mail session appears to be broken:&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma; font-size: 12px; &quot;&gt;01:12:33.666: &gt;&gt; MAIL FROM:&amp;lt;&quot;wordpress@localhost&quot; &amp;lt;wordpress@localhost&gt;&gt;&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;It should be just &quot;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma; font-size: 12px; &quot;&gt;MAIL FROM: &amp;lt;wordpress@localhost&gt;&quot; (no nested brackets).&lt;/span&gt;&lt;/p&gt;&lt;p&gt;/Rolf&nbsp;&lt;/p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma; font-size: 12px; &quot;&gt;&lt;/span&gt;

MAIL FROM in the wp_mail session appears to be broken:

01:12:33.666: >> MAIL FROM:<"wordpress@localhost" <wordpress@localhost>><cr><lf>

It should be just "MAIL FROM: <wordpress@localhost>" (no nested brackets).

I agree the MAIL FROM: is not correct but it was accepted by MercuryS and the mail actually was received according to the session log.  Since it was received I would have expected MercuryS to create the  MGxxxx.QCF/QDF file pair the message processed.  Of course core may reject the QCF/QDF file pair but in my test this MAIL FROM: address is accepted and processed.  In my case it was caught by POPFileD and classified as spam but it was delivered to the spam user mailbox normally. 

I just did this one nore time via telnet to using the string MAIL FROM:<"wordpress@localhost" <wordpress@localhost>><cr><lf> and it works so this should not the reason the mail is not being delivered to the user emailer1.  It should be fixed though and I'll bet this is another case of the user not entering a simple email address in a field asking for the senders email address.

Edit:  Here's my test data, note the return path.

Received: from spooler by tstephenson.com (Mercury/32 v4.70); 11 Apr 2009 21:03:24 -0700
X-Envelope-To: <support@tstephenson.com>
X-CLAMWALL: Passed through antiviral test by ClamWall 1.4.0.96 on tstephenson.com (6)
X-SPAMWALL: Passed through antiSPAM test by SpamHalter 4.4.0 on
 tstephenson.com (88)
X-SPAMWALL: probability - 0.0%
Return-path: <"wordpress@localhost" <wordpress@localhost>>
Received: from thomas (192.168.1.5) by tstephenson.com (Mercury/32 v4.70)
 with ESMTP ID MG0004F7; 11 Apr 2009 21:01:53 -0700
Date: Sun, 12 Apr 2009 01:12:33 +0400
Subject Test
From: thomas@tstephenson.com
To: support
X-Rcpt-To: <support@tstephenson.com>
X-Text-Classification: good
X-POPFile-Link: http://192.168.1.2:8080/jump_to_message?view=20947
X-Recipient: <support@tstephenson.com>
X-PMFLAGS: 33554560 9 1 YT6HTEB4.CNM                       

This is a test message from tstephenson.com.

&lt;blockquote&gt;&lt;p&gt;MAIL FROM in the wp_mail session appears to be broken:&lt;/p&gt;&lt;p&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma; font-size: 12px;&quot;&gt;01:12:33.666: &amp;gt;&amp;gt; MAIL FROM:&amp;lt;&quot;wordpress@localhost&quot; &amp;lt;wordpress@localhost&amp;gt;&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;It should be just &quot;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma; font-size: 12px;&quot;&gt;MAIL FROM: &amp;lt;wordpress@localhost&amp;gt;&quot; (no nested brackets).&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;I agree the MAIL FROM: is not correct but it was accepted by MercuryS and the mail actually was received according to the session log.&amp;nbsp; Since it was received I would have expected MercuryS to create the&amp;nbsp; MGxxxx.QCF/QDF file pair the message processed.&amp;nbsp; Of course core may reject the QCF/QDF file pair but in my test this MAIL FROM: address is accepted and processed.&amp;nbsp; In my case it was caught by POPFileD and classified as spam but it was delivered to the spam user mailbox normally.&amp;nbsp; &lt;/p&gt;&lt;p&gt;I just did this one nore time via telnet to using &lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma; font-size: 12px;&quot;&gt;the string &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Tahoma; font-size: 12px;&quot;&gt;&lt;b&gt;MAIL FROM:&amp;lt;&quot;wordpress@localhost&quot; &amp;lt;wordpress@localhost&amp;gt;&amp;gt;&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/b&gt; and it works so this should not the reason the mail is not being delivered to the user emailer1.&amp;nbsp; It should be fixed though and I&#039;ll bet this is another case of the user not entering a simple email address in a field asking for the senders email address.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Edit:&amp;nbsp; Here&#039;s my test data, note the return path. &lt;/p&gt;&lt;p&gt;Received: from spooler by tstephenson.com (Mercury/32 v4.70); 11 Apr 2009 21:03:24 -0700 X-Envelope-To: &amp;lt;support@tstephenson.com&amp;gt; X-CLAMWALL: Passed through antiviral test by ClamWall 1.4.0.96 on tstephenson.com (6) X-SPAMWALL: Passed through antiSPAM test by SpamHalter 4.4.0 on &amp;nbsp;tstephenson.com (88) X-SPAMWALL: probability - 0.0% Return-path: &amp;lt;&quot;wordpress@localhost&quot; &amp;lt;wordpress@localhost&amp;gt;&amp;gt; Received: from thomas (192.168.1.5) by tstephenson.com (Mercury/32 v4.70) &amp;nbsp;with ESMTP ID MG0004F7; 11 Apr 2009 21:01:53 -0700 Date: Sun, 12 Apr 2009 01:12:33 +0400 Subject Test From: thomas@tstephenson.com To: support X-Rcpt-To: &amp;lt;support@tstephenson.com&amp;gt; X-Text-Classification: good X-POPFile-Link: http://192.168.1.2:8080/jump_to_message?view=20947 X-Recipient: &amp;lt;support@tstephenson.com&amp;gt; X-PMFLAGS: 33554560 9 1 YT6HTEB4.CNM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is a test message from tstephenson.com. &lt;/p&gt;

I think the problem is finally solved.

I woke up this morning and started Mercury fresh. I tried to send an email and by chance noticed the "Mercury Core Process" window saying "Sender address 'WordPress <wordpress@localhost' is invalid" (I see a missing bracket) so I spent the next few hours researching and finally stumbled on this page and read only the first line where the poster says "I have not checked "Supress validation of 'from' field ..." in Mercury Core Config." So, I went and in fact checked the "suppress validation." and now I receive the messages coming from wp_mail();

Thanks for the help,

&lt;p&gt;I think the problem is finally solved. &lt;/p&gt;&lt;p&gt;I woke up this morning and started Mercury fresh. I tried to send an email and by chance noticed the &quot;Mercury Core Process&quot; window saying &quot;Sender address &#039;WordPress &amp;lt;wordpress@localhost&#039; is invalid&quot; (I see a missing bracket) so I spent the next few hours researching and finally stumbled on &lt;a href=&quot;http://objectmix.com/pegasus/203392-possible-mercury32-401a-bug-when-requiring-valid-sender-address.html&quot; mce_href=&quot;http://objectmix.com/pegasus/203392-possible-mercury32-401a-bug-when-requiring-valid-sender-address.html&quot;&gt;this page&lt;/a&gt; and read only the first line where the poster says &lt;i&gt;&quot;I have not checked &quot;Supress validation of &#039;from&#039; field ...&quot; in Mercury Core Config.&quot; &lt;/i&gt;So, I went and in fact checked the &quot;suppress validation.&quot; and now I receive the messages coming from wp_mail();&lt;/p&gt;&lt;p&gt;Thanks for the help, &lt;/p&gt;

You should fix the real problem as well an make sure that Wordpress uses a correct MAIL FROM.

/Rolf 

&lt;p&gt;You should fix the real problem as well an make sure that Wordpress uses a correct MAIL FROM.&lt;/p&gt;&lt;p&gt;/Rolf&nbsp;&lt;/p&gt;

I don't contribute to the core code of WordPress. I'm merely using WordPress's API. WordPress relies heavily on its wp_mail() and it is working for thousands of people.

I don&#039;t contribute to the core code of WordPress. I&#039;m merely using WordPress&#039;s API. WordPress relies heavily on its wp_mail() and it is working for thousands of people.

I don't contribute to the core code of WordPress. I'm merely using

WordPress's API. WordPress relies heavily on its wp_mail() and it is

working for thousands of people.

I suspect then that you have a bad entry to cause "wordpress@localhost" <wordpress@localhost> to be used instead of wordpress@localhost.  Check you entries in your WordPress setup.  Make sure you are entering just an email address when it asks for an email address, not a personal name and email address. 
&lt;blockquote&gt;I don&#039;t contribute to the core code of WordPress. I&#039;m merely using WordPress&#039;s API. WordPress relies heavily on its wp_mail() and it is working for thousands of people.&lt;/blockquote&gt;I suspect then that you have a bad entry to cause &quot;wordpress@localhost&quot; &amp;lt;wordpress@localhost&amp;gt; to be used instead of wordpress@localhost.&amp;nbsp; Check you entries in your WordPress setup.&amp;nbsp; Make sure you are entering just an email address when it asks for an email address, not a personal name and email address.&amp;nbsp;
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft