Support » Plugin: WP Login Alerts by DigiP » Email From!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I wasted a lot of time today only to find out that the email address has been hardcoded in the update.

    $from = ""; //$admin_email;

    $from = $admin_email;

    Hope we can get an official fix for this very soon. I hate patching plugins.

    Plugin Author DigiP


    Reason I changed it, is because some users use Gmail, and on some hosts, their SMTP servers will not send mail from a Gmail address to a Gmail address, and people we’re not getting the login alerts. This was actually a fix, for a lot of people, not to mention mailer-daemon errors from Gmail, rejecting emails sent to them self unless explicitly white listed as such, and even then, some web hosts, would not do it due to their own server side mail rules. By hard coding a “no-reply” address, it passes the mail test with 99% of web hosts and mail hosts, and was noted in the change log the reason for the switch.

    This is not a true bug though, and was actually more an issue for others before it was changed, than it is now. If you want, you can see in the code where I changed it. I left the old code commented out.

    @summit thank you for showing him the code.

    I don’t know much about changing codes. But I played around with it on a test site and it was easy, and now get emails from where I want them.

    Thank you both very much for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Email From!’ is closed to new replies.