Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mail Manager error
#9
Hi:

When I try to send an email from Mail Manager, the message is sent, but remains on the screen.
Inspecting the browser console I get the following :

Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
mail_reply_send http://xxxxxx.com/xxxxx/modules/MailManager/MailManager.js:1083
complete http://xxxxxx.com/xxxx/modules/MailManager/MailManager.js:1599
jQuery 6
Request http://xxxxxx.com/xxxxxx/modules/MailManager/MailManager.js:1594
mail_reply_send http://xxxxxxxx.com/xxxxxx/modules/MailManager/MailManager.js:1080
onclick http://xxxxxx.com/xxxxxx/index.php?action=index&module=MailManager#Compose:1

Invalid address: (addAnAddress Reply-To): <br>
2022-03-24 17:42:30 Connection: opening to localhost:25, timeout=300, options=array ( 'ssl' =&gt; array ( 'verify_peer' =&gt; false, 'verify_peer_name' =&gt; false, 'allow_self_signed' =&gt; true, ),)<br>
2022-03-24 17:42:30 Connection: opened<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;220 hl1014.dinaserver.com SMTP Ready&quot;<br>
2022-03-24 17:42:30 SERVER -&gt; CLIENT: 220 hl1014.dinaserver.com SMTP Ready<br>
2022-03-24 17:42:30 CLIENT -&gt; SERVER: EHLO cermeval.com<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-hl1014.dinaserver.com&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-PIPELINING&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-SIZE 31457280&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-ETRN&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280250-ETRN&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-STARTTLS&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280250-ETRN250-STARTTLS&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-AUTH PLAIN LOGIN&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280250-ETRN250-STARTTLS250-AUTH PLAIN LOGIN&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-AUTH=PLAIN LOGIN&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280250-ETRN250-STARTTLS250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-ENHANCEDSTATUSCODES&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280250-ETRN250-STARTTLS250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-8BITMIME&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280250-ETRN250-STARTTLS250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES250-8BITMIME&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250 DSN&quot;<br>
2022-03-24 17:42:30 SERVER -&gt; CLIENT: 250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280250-ETRN250-STARTTLS250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES250-8BITMIME250 DSN<br>
2022-03-24 17:42:30 CLIENT -&gt; SERVER: STARTTLS<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;220 2.0.0 Ready to start TLS&quot;<br>
2022-03-24 17:42:30 SERVER -&gt; CLIENT: 220 2.0.0 Ready to start TLS<br>
2022-03-24 17:42:30 CLIENT -&gt; SERVER: EHLO cermeval.com<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-hl1014.dinaserver.com&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-PIPELINING&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-SIZE 31457280&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-ETRN&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280250-ETRN&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-AUTH PLAIN LOGIN&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280250-ETRN250-AUTH PLAIN LOGIN&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-AUTH=PLAIN LOGIN&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280250-ETRN250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-ENHANCEDSTATUSCODES&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280250-ETRN250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250-8BITMIME&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280250-ETRN250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES250-8BITMIME&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250 DSN&quot;<br>
2022-03-24 17:42:30 SERVER -&gt; CLIENT: 250-hl1014.dinaserver.com250-PIPELINING250-SIZE 31457280250-ETRN250-AUTH PLAIN LOGIN250-AUTH=PLAIN LOGIN250-ENHANCEDSTATUSCODES250-8BITMIME250 DSN<br>
2022-03-24 17:42:30 Auth method requested: UNKNOWN<br>
2022-03-24 17:42:30 Auth methods available on the server: PLAIN,LOGIN<br>
2022-03-24 17:42:30 Auth method selected: LOGIN<br>
2022-03-24 17:42:30 CLIENT -&gt; SERVER: AUTH LOGIN<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;334 VXNlcm5hbWU6&quot;<br>
2022-03-24 17:42:30 SERVER -&gt; CLIENT: 334 VXNlcm5hbWU6<br>
2022-03-24 17:42:30 CLIENT -&gt; SERVER: cHJ1ZWJhZGhAY2VybWV2YWwuY29t<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;334 UGFzc3dvcmQ6&quot;<br>
2022-03-24 17:42:30 SERVER -&gt; CLIENT: 334 UGFzc3dvcmQ6<br>
2022-03-24 17:42:30 CLIENT -&gt; SERVER: ODE4dWd2d1d0OUs2Nnc4QVBi<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;235 2.7.0 Authentication successful&quot;<br>
2022-03-24 17:42:30 SERVER -&gt; CLIENT: 235 2.7.0 Authentication successful<br>
2022-03-24 17:42:30 CLIENT -&gt; SERVER: MAIL FROM:&lt;pruebadh@cermeval.com&gt;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $data is &quot;&quot;<br>
2022-03-24 17:42:30 SMTP -&gt; get_lines(): $str is &quot;250 2.1.0 Ok&quot;<br>
2022-03-24 17:42:30 SERVER -&gt; CLIENT: 250 2.1.0 Ok<br>
2022-03-24 17:42:30 CLIENT -&gt; SERVER: RCPT TO:&lt;gmarco@audalabs.net&gt;<br>
2022-03-24 17:42:36 SMTP -&gt; get_lines(): $data is &quot;&quot;<br>
2022-03-24 17:42:36 SMTP -&gt; get_lines(): $str is &quot;250 2.1.5 Ok&quot;<br>
2022-03-24 17:42:36 SERVER -&gt; CLIENT: 250 2.1.5 Ok<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: DATA<br>
2022-03-24 17:42:36 SMTP -&gt; get_lines(): $data is &quot;&quot;<br>
2022-03-24 17:42:36 SMTP -&gt; get_lines(): $str is &quot;354 End data with &lt;CR&gt;&lt;LF&gt;.&lt;CR&gt;&lt;LF&gt;&quot;<br>
2022-03-24 17:42:36 SERVER -&gt; CLIENT: 354 End data with &lt;CR&gt;&lt;LF&gt;.&lt;CR&gt;&lt;LF&gt;<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: Date: Thu, 24 Mar 2022 17:42:30 +0000<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: To: gmarco@audalabs.net<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: From: Guillermo Marco Galiana &lt;pruebadh@cermeval.com&gt;<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: Reply-To: gmarco@cermeval.com<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: Subject: prueba desde chrome<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: Message-ID: &lt;f73ea14bcd1f0b68603df555133acfd9@cermeval.com&gt;<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: X-Mailer: PHPMailer 5.2.26 (https://github.com/PHPMailer/PHPMailer)<br>;
2022-03-24 17:42:36 CLIENT -&gt; SERVER: MIME-Version: 1.0<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: Content-Type: text/html; charset=utf-8<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: <br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: &lt;p&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;console.log(&amp;#39;mailmanager.js l.1082&amp;#39; + transport);&lt;br /&gt;<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;var response = MailManager.removeHidElement(transport);&lt;br /&gt;<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;var responseJSON = JSON.parse(response);&lt;br /&gt;<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;console.log(&amp;#39;mailmanager.js l.1083&amp;#39; + responseJSON);&lt;/p&gt;<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: &lt;div class=&quot;io-ox-signature&quot;&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;http://audalabs.addecuo.es/storage/kcimages/images/audalabs-150x150.jpg&quot; style=&quot;width: 150px; height: 150px;&quot; /&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;Guillermo Marco Galiana&amp;nbsp; &lt;a&gt;+34 960 059 744&lt;/a&gt; - M&amp;oacute;vil &lt;a&gt;+34 656 60 65 03&lt;/a&gt;&lt;/p&gt;&lt;p style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;mailto:jalcaraz@audaconsultores.es&quot;&gt;gmarco@audalabs.net&lt;/a&gt;&amp;nbsp;&amp;nbsp; -&amp;nbsp; &lt;a href=&quot;http://www.audaconsultores.es/&quot;&gt;www.audalabs.net&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/div&gt;<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: <br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: .<br>
2022-03-24 17:42:36 SMTP -&gt; get_lines(): $data is &quot;&quot;<br>
2022-03-24 17:42:36 SMTP -&gt; get_lines(): $str is &quot;250 2.0.0 Ok: queued as 0C80220E31AF&quot;<br>
2022-03-24 17:42:36 SERVER -&gt; CLIENT: 250 2.0.0 Ok: queued as 0C80220E31AF<br>
2022-03-24 17:42:36 CLIENT -&gt; SERVER: QUIT<br>
2022-03-24 17:42:36 SMTP -&gt; get_lines(): $data is &quot;&quot;<br>
2022-03-24 17:42:36 SMTP -&gt; get_lines(): $str is &quot;221 2.0.0 Bye&quot;<br>
2022-03-24 17:42:36 SERVER -&gt; CLIENT: 221 2.0.0 Bye<br>
2022-03-24 17:42:36 Connection: closed<br>
{"success":true,"result":{"sent":true}}


It seems to add an adress for reply, but I don´t know how do it. What is the solution? Thanks
Reply


Messages In This Thread
Mail Manager error - LorenzoGreco - 09-14-2021, 08:47 AM
RE: Mail Manager error - joebordes - 10-17-2021, 02:34 PM
RE: Mail Manager error - joebordes - 10-17-2021, 03:56 PM
RE: Mail Manager error - LorenzoGreco - 10-19-2021, 09:16 AM
RE: Mail Manager error - joebordes - 10-19-2021, 11:01 AM
RE: Mail Manager error - LorenzoGreco - 11-02-2021, 05:15 PM
RE: Mail Manager error - joebordes - 11-03-2021, 11:51 PM
RE: Mail Manager error - LorenzoGreco - 11-04-2021, 10:20 AM
RE: Mail Manager error - inspectorflint - 03-24-2022, 05:57 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)