I have already changed the email to come from noreply@mydomain.net but for some reason it's coming through as noreply@www.mydomain.net. I've read through some of the posts here to find the answer to this but haven't found anyone having this issue. The code in the pluggable.php file shows:
if ( !isset( $from_email ) ) {
// Get the site domain and get rid of www.
$sitename = strtolower( $_SERVER['SERVER_NAME'] );
can anyone help me? we are having many issues with people trying to register and they are not receiving the emails.