Quote:
Originally Posted by Raptor
still problems with 4.5.1 when using SMTP (although I can now add Company Name <name@mail.com> to the SMTP 'From' text box)
contact us page not working now(using SMTP mail) and dont receive any other emails
contact us page error is
"Your message could not be sent. Please contact the store admin. "
|
Having the same issue as above!^^^^
Having an issue with this on XC 4.5.5, when we have the "Use SMTP server instead of internal PHP mailer" option checked in our email settings, instead of using PHP.
It shows correctly and sends to customers, but doesn't send us any emails (contact us, orders placed, etc). Because we have the display name shown.
If we get rid of this display name and set it just to a normal email, it works as it should (just so you know my SMTP settings are correct).
I believe the error is coming from include/func/func.mail.php around line 222:
Code:
// Send recipients email addresses.
$recipients = preg_split("/[,\s]+/", $mail_data['to']);
$recipients = func_array_map('trim', $recipients);
In the preg_split code (below):
Code:
$recipients = preg_split("/[,\s]+/", $mail_data['to']);
If we remove the "\s" it stops it from removing any spaces in the recipient e-mail addresses, but then we see this error:
Code:
Email server declined recipient email address (Error: RCPT not accepted from server; smtp_code: 501; smtp_msg: <Display Name <example@example.com>>: "@" or "." expected after "Display")