• ziation

    (@ziation)


    Having an issue with the new user registration email bouncing because it is not using the email address I have configured under General Settings in the admin console. The text next to this field states ‘This address is used for admin purposes, like new user notification’ so I assume this means the registration email but my mail logs show that wordpress is using the system hostname and thus is being bounced by my relay mail server.

    Is this a defect in 2.7.1?

Viewing 1 replies (of 1 total)
  • Thread Starter ziation

    (@ziation)

    Two problems existed here:

    1. The wordpress devs have hard coded the default admin email account to be ‘[email protected]’ in two separate locations in pluggable.php. This seems to have been known except by me.

    2. The second (and worse issue IMO) is that the phpmailer app was choosing to use the standard php mail() function instead of the smtp or other options and this function uses the user name of the web server process and the server’s host name as the domain name for the senders email address so you will get something like [email protected].

    To fix both these I simply changed the hard coded default email address to what I wanted in pluggable.php and also changed the ‘sendmail_path’ php.ini attribute to include the ‘-f user@domain’ option to force the sender email I wanted to use. This solution of course does not scale because all php apps I run in any web site on my server will now be send email from this email address (not good).

    I can’t believe this is the defacto standard for sending email using php web apps.

Viewing 1 replies (of 1 total)
  • The topic ‘New User Registration’ is closed to new replies.