Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
php:mail [2006/05/23 01:20] a |
php:mail [2009/05/25 00:34] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== PHP mail function on *nix plaform ====== | ||
+ | |||
+ | ==== Advance stuff ==== | ||
+ | |||
+ | * [[http:// | ||
+ | ==== return-path rewrite ==== | ||
+ | |||
+ | $mailFrom = " | ||
+ | $mailTo = " | ||
+ | $mailSubject = " | ||
+ | |||
+ | $mailSignature = " | ||
+ | $mailSignature .= "Your friendly Neighborhood web application.\n"; | ||
+ | $mailSignature .= "For help and other information, | ||
+ | | ||
+ | $mailBody =" | ||
+ | $mailBody .= $mailSignature; | ||
+ | | ||
+ | $mailHeader | ||
+ | $mailHeader .= " | ||
+ | $mailHeader .= " | ||
+ | $mailHeader .= " | ||
+ | $mailHeader .= "Bcc: " | ||
+ | |||
+ | $mailParams = " | ||
+ | $mailResult = mail($mailTo, | ||
+ | |||
+ | |||
+ | Be aware of this '' | ||
+ | |||
+ | in '' | ||
+ | |||
+ | read more at [[http:// | ||
+ | |||
+ | |||