$php_mysql$ Posted August 21, 2011 Share Posted August 21, 2011 whats wrong with my coding that when sent mail and received in gmail it says via avalanche.websitewelcome.com? $to = getEmailById($_SESSION['ID']); $from = $contactData['youremail']; $name = $contactData['yourname']; $message = $contactData['yourmessage']; $headers = "From: [email protected]\r\n"; $headers .= "Reply-To: $from\r\n"; $headers .= "Return-Path: $from\r\n"; 'X-Mailer: PHP/' . phpversion(); $message = "$message "; $subject = "(Notification) - $name !"; mail($to, $subject, $message, $headers); Quote Link to comment https://forums.phpfreaks.com/topic/245380-sending-email-avalanchewebsitewelcomecom-why/ Share on other sites More sharing options...
$php_mysql$ Posted August 22, 2011 Author Share Posted August 22, 2011 anyone got an idea? Quote Link to comment https://forums.phpfreaks.com/topic/245380-sending-email-avalanchewebsitewelcomecom-why/#findComment-1260419 Share on other sites More sharing options...
voip03 Posted August 22, 2011 Share Posted August 22, 2011 I am using yahoo and your code is working. Quote Link to comment https://forums.phpfreaks.com/topic/245380-sending-email-avalanchewebsitewelcomecom-why/#findComment-1260430 Share on other sites More sharing options...
$php_mysql$ Posted August 22, 2011 Author Share Posted August 22, 2011 oh i did not try yahoo. im checking gmail and it says via avalanche.websitewelcome.com do not understand why is that showing Quote Link to comment https://forums.phpfreaks.com/topic/245380-sending-email-avalanchewebsitewelcomecom-why/#findComment-1260431 Share on other sites More sharing options...
voip03 Posted August 22, 2011 Share Posted August 22, 2011 via Gmail i am getting [email protected] via n1nlhg037.shr.prod.ams1.secureserver.net to me Quote Link to comment https://forums.phpfreaks.com/topic/245380-sending-email-avalanchewebsitewelcomecom-why/#findComment-1260433 Share on other sites More sharing options...
$php_mysql$ Posted August 22, 2011 Author Share Posted August 22, 2011 see? u too getting something like via n1nlhg037.shr.prod.ams1.secureserver.net why is that happening? Quote Link to comment https://forums.phpfreaks.com/topic/245380-sending-email-avalanchewebsitewelcomecom-why/#findComment-1260438 Share on other sites More sharing options...
voip03 Posted August 27, 2011 Share Posted August 27, 2011 "If the sender’s full email address is displayed, then Gmail thinks that you have not communicated with this sender in the past. If the email address is quite long,Gmail will show you a shortened version. Once Gmail concludes that you communicate with this sender (for example, if you reply to emails from this sender, or if you add this sender to your address book) we’ll stop displaying their address next to their name." Quote Link to comment https://forums.phpfreaks.com/topic/245380-sending-email-avalanchewebsitewelcomecom-why/#findComment-1262599 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.