phpwordpressemailbluehost

Change bluehost email address in wordpress


Hello guys i'm new to wordpress

I wanted to know if it is possible to change the default sender address of bluehost i.e name@box####.bluehost.com to name@yourdomain.com

I'm using a plugin called Email before download which sends email to the people who download files from my website.The mail is sent from name@box####.bluehost.com.

If I try to change the sender email address from email-before-download.php file of Email before download plugin it's not working it still display the default address name@box####.bluehost.com how can I change that sender email address in this case?

Is there any plugin which does that? or we have to change it from the bluehost cpanel?


Solution

  • Login to cPanel > File Manager > public_html > php.ini > edit

    Search for sendmail keyword . You will find this ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path sendmail_path = /usr/sbin/sendmail -t -i

    Please add : -f'user@domain.com'

    Eg: sendmail_path = /usr/sbin/sendmail -t -i -f'user@domain.com'