Jump to content

emailing from php


lional

Recommended Posts

Hi All

I am trying to mail from php and what is hapenning is that the mail comes through to the web client with the senders email address which is coccect but it adds the header to the email address eg. [email protected]: 1.0

 

$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: $mail_out";
}}}
// And now mail it!
if ($name_out && $telephone_out && $mail_out) {
  mail($to, $my_subject, $my_message, $headers);
}

 

Any help will be appreciated

 

Thanks

 

Lional

Link to comment
https://forums.phpfreaks.com/topic/99656-emailing-from-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.