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