Configure the server global settings to use SMTP email and enter a value in the From address.
Use Components -> Messaging -> New Private Message to send a message from an admin with a different address to another user.
User should receive an email to their configured email address that is from the SMTP from address with a reply-to reflecting the user email address who sent the message
"SMTP Error: data not accepted" due to the fact that the SMTP server expects the From address to be on a local domain, but it was using the sender's email address instead. See http://joomla.stackexchange.com/questions/15444/smtp-email-failing-via-joomla-succeeding-outside-of-joomla
Joomla! 3.4.8 Stable [ Ember ] 24-December-2015 19:30 GMT
Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
Dreamhost web host
PHP version 5.5.26
Web Server: Apache
WebServer to PHP Interface: cgi-fcgi
SMTP configuration...
Send Mail: Yes
Mailer: SMTP
From email: bluemonkmn@sgdk2.enigmadream.com
From name: Benjamin Marty
Disable Mass Mail: No
SMTP Authentication: Yes
SMTP Security: None
SMTP Port: 25
SMTP Username: bluemonkmn@sgdk2.enigmadream.com
SMTP Password: (same password I used in other tests that worked)
SMTP Host: mail.sgdk2.enigmadream.com
The same test succeeds if I change the sending user's email address to match the SMTP From address.
It's not clear if this problem extends beyond private messages. that's just the easiest way I know how to test Joomla email.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-01-08 19:06:29 |
Closed_By | ⇒ | mbabker |
PHP Mail has a similar, probably related issue on Joomla! 3.4.8, when using Mass Mail.
Using Mass Mail, when I send to Super Users is the email is sent ok. But, when I send to Registered users the email is not sent. I'm sending as BCC in both cases. All of the other settings are the same. I only change from Super Users to Registered.
In /administrator/php_mail.log the failed message has two "To:" recipients, the first one being empty.
mail() on [/home/nhrpoa/public_html/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php:615]:
To: --
Headers: Date: Fri, 26 Feb 2016 15:30:07 -0600
To: undisclosed-recipients:;
From: NHRPOA <######@######.net>
Bcc: ######@######.com, ...
The successful email to Super Users log looks like this:
mail() on [/home/nhrpoa/public_html/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php:615]:
To: ######@######.net --
Headers: Date: Fri, 26 Feb 2016 13:18:36 -0600
From: NHRPOA <######@######.net>
Bcc: ######@######.com, ...
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9261.