wp_mail FROM parameter

Avatar
  • updated
  • Answered

I am unable to set the wp_mail() FROM: parameter within the header array. It is always defaulting to a forwarder ([email protected]). How do I set this parameter to something else? I have also installed the php_mailer plugin.

Avatar
IMH Support Agent 2
  • Answered

Hello Tasmn,

Apologies for the issues you're facing with trying to set the wp_mail FROM parameter.  If you are setting it correctly, then I would recommend that you submit a ticket to the live technical support team to see why the change is not applying.  There are a number of posts on different forums that address this issue.  You can see one here:  wp_mail - not working when $headers are set. Please note the date on these posts as they may affect how your setting is being implemented.  You may also need to use a plugin to check if the header is being properly set.  You can see several suggestions from the WordPress support forums.

If you have any further questions or comments, please let us know.

Kindest Regards,

Arnel C.