Ready to get started?Download WordPress


[resolved] mail not working due to shifting of Hosting Service (2 posts)

  1. KruVy
    Posted 10 months ago #

    Hello Dear all,

    I am new to WordPress and PHP. However I am working with asp.net since 2 years.

    I have just shifted my wordpress blog from BigRock to Godaddy.
    Everything working fine. but Mails (notification mails, subscribe mail etc) not working..

    To shift the hosting I have copied the blog folder from bigrock to Godaddy and restored the database of mySql.

    As It seems like Mailing of WordPress uses wordpress Mail servers and not hosting Servers, So I am not suppose to change any smtp settings, right ?

    Then what to do so that I can get the Mails from [email redacted] ?

    Need urgent help

    Thank you in advance


  2. Chad Butler
    Plugin Author

    Posted 10 months ago #

    WordPress uses a function wp_mail to send email via php script.

    You host probably requires that the send from address be a valid address, and you probably need to add that to the email headers.

    You can add a header to the outbound email using this filter:

    Here is some info on testing wp_mail:

    You could also use the WP Mail SMTP plugin, which would allow wp_mail to send via yoru SMTP mailserver (this is the easiest solution).


You must log in to post.

About this Plugin

About this Topic