-
-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Version
1.0.3
What did you expect to happen?
I installed the Acorn Mail package, configured my SMTP authentication data in .env, and tried to send an email using WP-CLI. I expected the email to send successfully without any errors.
What actually happens?
Emails fail to send and I get this SMTP error:
SMTP Error: The following recipients failed: [MY EMAIL] Verification failed for <wordpress@[MY DOMAIN].test>
The mail server does not recognize wordpress@[MY DOMAIN].test as a valid sender.
Sender verify failed
The only way I can get emails to work is by manually adding this code:
add_filter('phpmailer_init', function ($mail) {
$mail->Sender = $mail->From;
return $mail;
});Steps to reproduce
- Install Roots/Sage theme with Acorn
- Install Acorn Mail plugin
- Configure SMTP settings in
.env - Try to send a test email using wp acorn mail:test
- Email fails with SMTP sender verification error
System info
No response
Log output
Please confirm this isn't a support request.
No
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working