From 612464dc755ebf889eefd0bfc08f94f023a201b2 Mon Sep 17 00:00:00 2001 From: Philip Olson Date: Wed, 14 May 2003 06:11:49 +0000 Subject: [PATCH] Examples now work with register_globals = off, and added . git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@126938 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mail/functions/mail.xml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/reference/mail/functions/mail.xml b/reference/mail/functions/mail.xml index a2c22fbdc4..c7d5795298 100644 --- a/reference/mail/functions/mail.xml +++ b/reference/mail/functions/mail.xml @@ -1,5 +1,5 @@ - + @@ -63,7 +63,9 @@ Sending mail. ]]> @@ -86,10 +88,12 @@ mail("joecool@example.com", "My Subject", "Line 1\nLine 2\nLine 3"); Sending mail with extra headers. ]]> @@ -108,8 +112,10 @@ mail("nobody@example.com", "the subject", $message, Sending mail with extra headers and setting an additional command line parameter. ]]> @@ -129,6 +135,7 @@ mail("nobody@example.com", "the subject", $message, Sending complex email. " . ", " ; // note the comma $to .= "Kelly "; @@ -171,6 +178,7 @@ $headers .= "Bcc: birthdaycheck@example.com\r\n"; /* and now mail it */ mail($to, $subject, $message, $headers); +?> ]]>