Hi,
Have you tried this?
notifyheaders="From: name@email.com"
Nickolas
In continuation of the previous message, the code notifyheaders=”From: name@email.com” must be put inside the shortcode.
This works partially. It changes the sender to name@email.com ( obviously I use my own actual email address ) within the details/header of the message, but under my “From” column in my email browser it still shows WordPress as the sender – which I would prefer to change as I want to cut down on the risk of my mail ending up in a Junk/Spam Folder.
By chance I tried notifyheaders=”From: name@email.com,name@email.com”
This helped a bit in that it put my email address under the From column of my email browser, but it was still preceded by the word “WordPress”.
i.e. “WordPress,name@email.com” now appears as the sender in the From column.
Ideally I would like to get rid of “WordPress” and have just my email address appear.
Any more suggestions are appreciated – thanks for you help,
Andrew
An additional note to my last post – I primarily use the GoDaddy mail browser and notifyheaders=”From: name@email.com,name@email.com” does indeed add my email address after WordPress under the From column, however I just checked my Gmail account that also receives a copy of my mail and unfortunately this trick does not work. It still shows the email as being from “WordPress” under the From column and “WordPress <name@email.com>” in the details of the message.
Andrew
Try
notifyheaders="From: Andy <name@email.com>"
Just a guess.
Thanks everyone for your suggestions. I ended up finding this additional plugin and it seems to easily do the trick:
https://www.tipsandtricks-hq.com/wordpress-plugin-change-wp-email-from-details-1883
I will let you know should I run into any conflicts, but the first test seemed to work well.
Best regards,
Andrew
If you run into problems in the future with email not appearing in your inbox, or your user’s (cc:) inbox, or going into spam, you’ll need a more powerful mail plugin than that one. Let us know.
As Postman SMTP suggested, notifyheaders=”From: Andy <name@email.com>” will set the email and the name of the sender correctly.
Then sender’s email declared in From header must be a valid and existing one because some email servers reject the emails from being sent if the sender’s email is not valid.
Nevertheless, wordpress file upload plugin is not an email sending plugin, it has basic email provisions. If something more complex is required (like custom SMPT email sending) then it can be combined with other more specialized plugins.
Nickolas