note 23858 added to ref.mail

From: Date: Tue, 30 Jul 2002 12:31:27 +0000
Subject: note 23858 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-33987@lists.php.net to get a copy of this message
<? $email="email@recipient.com"; $subject="test"; $message="hello\nhow are you?"; $from="yourmail@mail.com if(mail("$email","$subject","$message","From: $from")){ echo "e-mail sent !!!"; }else{ echo "error !!!"; } ?> -- http://www.php.net/manual/en/ref.mail.php http://master.php.net/manage/user-notes.php?action=edit+23858 http://master.php.net/manage/user-notes.php?action=delete+23858 http://master.php.net/manage/user-notes.php?action=reject+23858

« previous php.notes (#33987) next »