MyBB Community Forums

Full Version: SMTP change to support "name<[email protected]>"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Right now, if you want to create a plugin that sends mail and the admin has configured email use to SMTP, you can not specify the users name with the address such as "name <[email protected]>" in the from field.

this is because the SMTP mailhandler adds '<' and '>' to the MAIL FROM test/assignment.

Similar to the RCPT.

I would suggest a simple change that would test for '<' and '>' in those fields and add them if missing. This way, plugins and MyBB itself, can send mail slightly more personalized.

Its not an issue with PHP Mail, only SMTP.
Plus, it sometimes solves emails going to SPAM issues. I agree with Pavemen.