sendmail woes

Stephen Ward sjward at
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", "subject", "message", "From: from at");

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", "Content-type: text/plain", and other email header


More information about the PLUG mailing list