WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. KruVy
    Member
    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

    http://wordpress.org/extend/plugins/wp-members/

  2. Chad Butler
    Member
    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:
    http://rocketgeek.com/plugins/wp-members/users-guide/filter-hooks/wpmem_email_headers/

    Here is some info on testing wp_mail:
    http://butlerblog.com/2012/09/23/testing-the-wp_mail-function/

    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).

Reply

You must log in to post.

About this Plugin

About this Topic