sendmail woes
Stephen Ward
sjward at gmail.com
Thu Dec 14 16:16:20 MST 2006
>
> You need to insert a "From:" line in the mail headers. That's the
> fourth parameter of the mail() function. Thus, you'd do something
> like:
>
> mail("to at place.com", "subject", "message", "From: from at place.com");
Actually, to be exact, the fourth parameter of PHP's mail() function is a
string of "additional_headers". It can contain things like "From:
soandso at suchandsuch.com", "Content-type: text/plain", and other email header
goodies.
Cheers,
Stephen
More information about the PLUG
mailing list