Note Submitter: bsntech
----
I've run into some problems with the mail before when using a header line.
Something like this:
$message = "message to send is here";
$subject = "subject is here";
$mailto = "mail address here";
$headers = 'Content-Type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: BsnTech Networks <[email protected]>' . "\r\n";
mail($mailto, $subject, $message, $headers);
Using the method above, it will allow you to send an HTML-formatted message - and you can see the breakdown of the message, subject, mailto, and headers.
But when I put in this line:
'From: BsnTech Networks <[email protected]>' . "\r\n";
When the recipient receives it, it shows BsnTech@MISSING_DOMAIN. It should show [email protected] (example) instead of that above. Anyone know why?
Brian S.
BsnTech Networks
http://www.bsntech.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.