Plugin does not overwrite sender email for notifications generated via WP-CLI
-
For example: If I create a new user using the WordPress admin dashboard (GUI) and ask the user to be notified by email, your plugin successfully overwrites the sender email address for that notification.
However if I instead use the command line tool WP-CLI to create a new user and request the new user to be notified by email, the overwriting does not occur and the notification comes from the default sender ([email protected] e.g.). So for example a command like this generates an email to the new user but the sender overwrite does not occur:
wp user create user-login user-email –role=editor –send-email
https://developer.www.ads-software.com/cli/commands/user/create/
Any idea why this doesn’t work? I used to use Postman SMTP and it did not have this issue, however it has been removed from the repository due to a vulnerability that I don’t believe the plugin author has addressed as of yet.
- The topic ‘Plugin does not overwrite sender email for notifications generated via WP-CLI’ is closed to new replies.