#1601 - Sending recommendation mail may not work (host-specific)

Identifier #1601
Issue type Minor issue (breaks specific functionality)
Title Sending recommendation mail may not work (host-specific)
Status Completed
Handling member Chris Graham
Version 9.0.12
Addon General / Uncategorised
Description We have spotted this issue on Arvixe, but it likely affects other hosts.

The recommendation mailer doesn't have a "to" name, so uses the target address as the name, creating an e-mail To header like:
"[email protected]" <[email protected]>

E-mail addresses within names are causing an error behind the scenes like:
Warning: Sendmail error code: 1 [/usr/sbin/sendmail: unexpected response 501 to RCPT TO command /usr/sbin/sendmail: unexpected response 503 to DATA command ]

(The user just sees Composr's generic "A system e-mail could not be sent" message, as PHP cannot directly provide the error details)

The hot fix will change Composr to send a To header like:
"test" <[email protected]>
(i.e. stripping the domain component)
Steps to reproduce

Funded? No
Commits

3ecb8db

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated