"From" field on emails
-
Using the instructions at https://xnau.com/sending-an-email-when-a-record-is-updated/, I created the plugin to send emails on update. It sends emails as specified TO a field in the database, and the SUBJECT and MESSAGE are both as specified in the plugin.
Using “first@example.com,” I can’t seem to override the FROM email address, however, and I can’t figure out where it’s picking it up or why it’s stuck. I’ve tried these things, and the email address never changes:
• Changed Settings > General > Email Address from first@example.com to second@otherdomain.com.
• Changed User > Your Profile > EMail from first@example.com to third@otherdomain.com.
• Deactivated Contact Form 7 and all other plugins which use email for any purpose at all.
• Changed all instances of first@domain.com to second@otherdomain.com throughout back-end settings of Participants Database plugin.
• Turned off all email notifciations in Participant Database plugin, except those explicitly defined in the plugin.
• Tried logging in as a different, NON Admin user whose username has always been associated with a different email address.
• In the plugin, I’ve tried specifying the email
$from = 'Your Website <info@yourwebsite.com>';
and'from' => $from,
; and not specifying the From email address at all.I’m stuck. Help?
- The topic ‘"From" field on emails’ is closed to new replies.