• How do I change the email address that Site Lockouts Notifications are sent from. It is currently wordpress@<sitename>.

    Thanks
    Amanda

Viewing 3 replies - 1 through 3 (of 3 total)
  • Why ?

    And why only for Site Lockouts Notifications ?

    There is a comment from development in the wp_mail() method:

    If we don’t have an email from the input headers default to wordpress@$sitename.
    Some hosts will block outgoing mail from this address if it doesn’t exist but
    there’s no easy alternative. Defaulting to admin_email might appear to be another
    option but some hosts may refuse to relay mail from an unknown domain.

    Anyway the plugin does not facilitate changing the email address that Site Lockouts Notifications are sent from in the Notification Center. It would probably require custom code. IMHO the only option would be to hook into the wp_mail filter.

    • This reply was modified 6 years, 11 months ago by nlpro.

    Even though not mentioned in the 7.1.0 release changelog a “From Email” setting has been added to the Notification Center module. By default the setting is empty which means the WordPress default is used for all emails sent by the plugin.

    Thread Starter caordawebsol

    (@caordawebsol)

    Great! Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change email address that Site Lockouts Notifications are sent from’ is closed to new replies.