Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

uwptaik's Achievements


Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges



  1. Dear jhollin1138, Thanks for your reply, that was really helpful. If you don't mind me asking, how will the lines: $headers .= "Message-ID: <".$now."webmaster@".$_SERVER['SERVER_NAME'].">".$eol; $headers .= "X-Mailer: PHP v".phpversion().$eol; // These two to help avoid spam-filters help with Spam filters? This is a big issue for us b/c any emails coming from our account info@solabroad.com to yahoo and gmail are delivered to the inbox, but stinkin' hotmail always puts them in Spam (big issue b/c we have many customer at hotmail) the header I use is: $headers = 'From: "Sol Education Abroad" <info@solabroad.com>' . "\r\n" .'Reply-To: "Sol Education Abroad" <info@solabroad.com>'; mail ( "$cur_email", "Greetings from Sol Abroad!!", $emailbodycontact, $headers, '-f info@solabroad.com'); Any info would be greatly appreciated. regards, Esteban info@solabroad.com
  2. Well, i tested it with the space and it works perfectly!
  3. I want to thank all of you guys for your help, I finally got it to work! $headers = "From: Esteban <esteban@solabroad.com>\r"; $headers .= "Reply-To: Esteban <esteban@solabroad.com>\r"; $headers .= "Return-Path: Esteban <esteban@solabroad.com>\r"; mail ( "$cur_email", "Greetings from Sol Abroad!!", $emailbodycontact, $headers, '-f esteban@solabroad.com'); thank you gentleman!
  4. thanks! so that it looks like this? $headers = "From: Esteban <esteban@solabroad.com>\r"; $headers .= "Reply-To: Esteban <esteban@solabroad.com>\r"; $headers .= "Return-Path: Esteban <esteban@solabroad.com>\r"; $headers .= "-f<esteban@solabroad.com>\r";
  5. Does anybody out there have a more simple way to address this? maybe a built in PHP function that will allow me to change the header?
  6. Mike! I tried that and got: Fatal error: Call to undefined function: mailfrom() in /home/uwptaik/public_html/testemailMass.php on line 74 is mailfrom a PHP command? Does it maybe have another name? thank you
  7. Thank you Mike for your response! Yes, I'm using PHP's mail() function: mail ( "$cur_email", "Hola $first_name! Study abroad this summer!", $emailbodycontact, $headers); and the header: $headers = "From: Esteban <esteban@solabroad.com>\r\n"; $headers .= "Reply-To: Esteban <esteban@solabroad.com>\r\n"; $headers .= "Return-Path: Esteban <esteban@solabroad.com>\r\n"; Do you have another example where I can enter the "MAIL FROM:" into the header, I could not figure it out from the example you gave. thanks again
  8. Greetings, I have setup a PHP script that sends emails from my account esteban@solabroad.com (pulled a simple MYSQL DB) it works perfectly. However, if the email is sent to an invalid email address, the message DOES NOT bounce correctly. Instead of the email being sent back to esteban@solabroad.com it is sent to Return-Path: <nobody@server115.tchmachines.com> I've been trying for three weeks now to fix this, so that emails bounce correctly. Everything I try has the same result. I have the PHP script header for the email set as $headers = "From: Esteban <esteban@solabroad.com>\r\n"; $headers .= "Reply-To: Esteban <esteban@solabroad.com>\r\n"; $headers .= "Return-Path: Esteban <esteban@solabroad.com>\r\n"; The email is received as with this header: From Esteban Wed Apr 11 09:19:43 2007 Return-Path: <nobody@server115.tchmachines.com> Authentication-Results: mta521.mail.mud.yahoo.com from=solabroad.com; domainkeys=neutral (no sig) Received: from (EHLO server115.tchmachines.com) ( by mta521.mail.mud.yahoo.com with SMTP; Wed, 11 Apr 2007 09:19:43 -0700 Received: from nobody by server115.tchmachines.com with local (Exim 4.63) (envelope-from <nobody@server115.tchmachines.com>) id 1HbfXr-0003aM-9g for estebanlardone@yahoo.com; Wed, 11 Apr 2007 09:19:43 -0700 To: estebanlardone@yahoo.com Subject: Hola Esteban! Study abroad this summer! From: Esteban <esteban@solabroad.com> Reply-To: Esteban <esteban@solabroad.com> Message-Id: <E1HbfXr-0003aM-9g@server115.tchmachines.com> Date: Wed, 11 Apr 2007 09:19:43 -0700 Content-Length: 929 Can somebody at TCH please help me with the correct header? Please help! Esteban esteban@solabroad.com
  • Create New...