March 2002
Intermediate to advanced
528 pages
21h 29m
English
bool mail(stringrecipient, stringsubject, stringmessage[, stringheaders[, stringparameters]])
Sends message to
recipient via email with the subject
subject and returns
true if the message was successfully sent or
false if it wasn’t. If given,
headers is added to the end of the headers
generated for the message, allowing you to add cc:, bcc:, and other
headers. To add multiple headers, separate them with
\n characters (or \r\n
characters on Windows servers). Finally, if specified,
parameters is added to the parameters of
the call to the mailer program used to send the mail.