My WordPress admin email stopped coming through a couple of weeks ago. My webhosting support has told me that I need to do the following:
Please added following line to your php scripts that contain php mail() function:
ini_set('sendmail_from', 'user@domain.com');
where 'user@domain.com' is mail address specified as From: address for your php mail sending.
Help? Which files contain the php mail() function? Where would I add that line?
Any help is appreciated... I am not a php programmer!
Try this plugin instead:
http://just-thinkin.net/downloads/no-sender.zip
If that doesn't work and let you get emails again, then edit the plugin and change the '' to 'user@domain.com'. This is the WordPress equivalent of what they told you to do.
This didn't resolve the problem. Additionally, now when I try to post a test comment, it hangs the script. The comment ends up in the moderation cue, but as a commenter, the script hangs until a "CGI timeout error" is received.
Turning off email notification in the options stops the comment script from hanging.
Any ideas?
AndrewVos
Member
Posted 4 years ago #
Ok I just made a fix for this:
http://www.andrewvos.com/?p=375
freeriderzlv
Member
Posted 3 years ago #
hey!
i face a similar problem.
When a user registers, he receives email from www-data@....... not freeriderz@.... as I want to. The "www-data" comes from apache configuration - it`s the user/group in apache2handler. I cannot change it easily in apache configuration, so I wonder if there is a way to overcome this feature in wordpress. I tried no-sender and new user email setup plugins - no change.
I use sSMTP to send it the mail to my providers mail server. I tried everything, but it allows me to change only the domain in the email adress, not the user.
any ideas?
freeriderzlv
Member
Posted 3 years ago #