Community Discussions and Support
Issue with Mercury

Excellent, I was able to find and correct the function in phpbb, thanks for the help.

Excellent, I was able to find and correct the function in phpbb, thanks for the help.

I'm trying to use Mercury to relay e-mail through Gmail from my phpbb3 forum for registration verification. I can send mail directly from Mercury fine, however when the board attempts to send something, MercuryC gives the following error:

 25 Nov 08 17:51, Servicing job MO00001D...  555 5.5.2 Syntax error. 5sm13504635yxt.1

 I was originally using MercuryE, however it failed to connect to some addresses (notably hotmail). 

<p>I'm trying to use Mercury to relay e-mail through Gmail from my phpbb3 forum for registration verification. I can send mail directly from Mercury fine, however when the board attempts to send something, MercuryC gives the following error:</p><p> 25 Nov 08 17:51, Servicing job MO00001D...  555 5.5.2 Syntax error. 5sm13504635yxt.1</p><p> I was originally using MercuryE, however it failed to connect to some addresses (notably hotmail). </p>

"555 5.5.2 Syntax error. 5sm13504635yxt.1" is an error message returned from the relaying server. Try switching on session logging briefly in MercuryC to find out exactly what causes this error.

/Rolf 

<p><span class="Apple-style-span" style="font-family: Tahoma; ">"555 5.5.2 Syntax error. 5sm13504635yxt.1" is an error message returned from the relaying server. Try switching on session logging briefly in MercuryC to find out exactly what causes this error.</span></p><p>/Rolf </p>

This is what I get:

 

00:50:09.390: --- Thu Nov 27 00:50:09 2008 ---

00:50:09.390: Connect to 'smtp.gmail.com', timeout 30.

00:50:10.484: [*] SSL/TLS session established: RC4, OFB mode, keysize 128 bits

00:50:10.484: [*] Certificate user is cn=smtp.gmail.com, o=Google Inc, l=Mountain View, sp=California, c=US

00:50:10.484: [*] Certificate is valid from Mon Jul 30 00:00:00 2007 to Thu Jul 29 23:59:59 2010

00:50:10.484: [*] Certificate fingerprint is F1D3DE599D9CE231EAAA2CA0FCAD9A61

00:50:10.484: >> 220 mx.google.com ESMTP 34sm2800147yxl.8<cr><lf>

00:50:10.484: << EHLO aristocracy.admin<cr><lf>

00:50:10.515: >> 250-mx.google.com at your service, [69.250.252.4]<cr><lf>

00:50:10.515: >> 250-SIZE 35651584<cr><lf>

00:50:10.515: >> 250-8BITMIME<cr><lf>

00:50:10.515: >> 250-AUTH LOGIN PLAIN<cr><lf>

00:50:10.515: >> 250 ENHANCEDSTATUSCODES<cr><lf>

00:50:10.515: << AUTH LOGIN<cr><lf>

00:50:10.562: >> 334 VXNlcm5hbWU6<cr><lf>

00:50:10.562: << YXJpc3RvY3JhY3kuYWRtaW4=<cr><lf>

00:50:10.593: >> 334 UGFzc3dvcmQ6<cr><lf>

00:50:10.593: << c3VvbWFsYWluZW4=<cr><lf>

00:50:11.203: >> 235 2.7.0 Accepted<cr><lf>

00:50:11.203: << MAIL FROM:<<aristocracy.admin@gmail.com> SIZE=1291<cr><lf>

00:50:11.250: >> 555 5.5.2 Syntax error. 34sm2800147yxl.8<cr><lf>

00:50:11.250: << QUIT<cr><lf>

00:50:11.281: >> 221 2.0.0 closing connection 34sm2800147yxl.8<cr><lf>

00:50:11.281: --- Connection closed normally at Thu Nov 27 00:50:11 2008. ---

00:50:11.281:  

&lt;p&gt;This is what I get:&lt;/p&gt;&lt;p&gt;&nbsp;&lt;/p&gt;&lt;p&gt;00:50:09.390: --- Thu Nov 27 00:50:09 2008 ---&lt;/p&gt;&lt;p&gt;00:50:09.390: Connect to &#039;smtp.gmail.com&#039;, timeout 30.&lt;/p&gt;&lt;p&gt;00:50:10.484: [*] SSL/TLS session established: RC4, OFB mode, keysize 128 bits&lt;/p&gt;&lt;p&gt;00:50:10.484: [*] Certificate user is cn=smtp.gmail.com, o=Google Inc, l=Mountain View, sp=California, c=US&lt;/p&gt;&lt;p&gt;00:50:10.484: [*] Certificate is valid from Mon Jul 30 00:00:00 2007 to Thu Jul 29 23:59:59 2010&lt;/p&gt;&lt;p&gt;00:50:10.484: [*] Certificate fingerprint is F1D3DE599D9CE231EAAA2CA0FCAD9A61&lt;/p&gt;&lt;p&gt;00:50:10.484: &gt;&gt; 220 mx.google.com ESMTP 34sm2800147yxl.8&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:10.484: &amp;lt;&amp;lt; EHLO aristocracy.admin&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:10.515: &gt;&gt; 250-mx.google.com at your service, [69.250.252.4]&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:10.515: &gt;&gt; 250-SIZE 35651584&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:10.515: &gt;&gt; 250-8BITMIME&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:10.515: &gt;&gt; 250-AUTH LOGIN PLAIN&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:10.515: &gt;&gt; 250 ENHANCEDSTATUSCODES&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:10.515: &amp;lt;&amp;lt; AUTH LOGIN&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:10.562: &gt;&gt; 334 VXNlcm5hbWU6&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:10.562: &amp;lt;&amp;lt; YXJpc3RvY3JhY3kuYWRtaW4=&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:10.593: &gt;&gt; 334 UGFzc3dvcmQ6&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:10.593: &amp;lt;&amp;lt; c3VvbWFsYWluZW4=&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:11.203: &gt;&gt; 235 2.7.0 Accepted&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:11.203: &amp;lt;&amp;lt; MAIL FROM:&amp;lt;&amp;lt;aristocracy.admin@gmail.com&gt; SIZE=1291&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:11.250: &gt;&gt; 555 5.5.2 Syntax error. 34sm2800147yxl.8&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:11.250: &amp;lt;&amp;lt; QUIT&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:11.281: &gt;&gt; 221 2.0.0 closing connection 34sm2800147yxl.8&amp;lt;cr&gt;&amp;lt;lf&gt;&lt;/p&gt;&lt;p&gt;00:50:11.281: --- Connection closed normally at Thu Nov 27 00:50:11 2008. ---&lt;/p&gt;&lt;p&gt;00:50:11.281:&nbsp;&nbsp;&lt;/p&gt;

00:50:11.203: << MAIL FROM:<<aristocracy.admin@gmail.com> SIZE=1291<cr><lf>

00:50:11.250: >> 555 5.5.2 Syntax error. 34sm2800147yxl.8<cr><lf>

There is an extra < in the MAIL FROM address.   The extra < makes the address invalid.  This should be

MAIL FROM:<aristocracy.admin@gmail.com> SIZE=1291<cr><lf>

&lt;blockquote&gt;&lt;p&gt;00:50:11.203: &amp;lt;&amp;lt; MAIL FROM:&amp;lt;&amp;lt;aristocracy.admin@gmail.com&amp;gt; SIZE=1291&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/p&gt;&lt;p&gt;00:50:11.250: &amp;gt;&amp;gt; 555 5.5.2 Syntax error. 34sm2800147yxl.8&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;There is an extra &amp;lt; in the MAIL FROM address. &amp;nbsp; The extra &amp;lt; makes the address invalid.&amp;nbsp; This should be &lt;/p&gt;&lt;p&gt;MAIL FROM:&amp;lt;aristocracy.admin@gmail.com&amp;gt; SIZE=1291&amp;lt;cr&amp;gt;&amp;lt;lf&amp;gt;&lt;/p&gt;
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