note 73594 added to ref.mail

From: Date: Fri, 02 Mar 2007 19:09:00 +0000
Subject: note 73594 added to ref.mail
Groups: php.notes 
Request: Send a blank email to php-notes+get-124021@lists.php.net to get a copy of this message
I might be being blind but as far as I can see there is nothing here that simply explains how to send an email. So for the beginner, here it is: On a properly configured server (e.g. your webhost's server) all you should need to do is this: <?php $subject = "Write your subject here"; $message = "Write the main text of your email here"; $to = "example@example.com"; mail($to , $subject , $message); ?> ---- Server IP: 194.145.210.4 Probable Submitter: 84.68.112.6 ---- Manual Page -- http://www.php.net/manual/en/ref.mail.php Edit -- https://master.php.net/note/edit/73594 Del: integrated -- https://master.php.net/note/delete/73594/integrated Del: useless -- https://master.php.net/note/delete/73594/useless Del: bad code -- https://master.php.net/note/delete/73594/bad+code Del: spam -- https://master.php.net/note/delete/73594/spam Del: non-english -- https://master.php.net/note/delete/73594/non-english Del: in docs -- https://master.php.net/note/delete/73594/in+docs Del: other reasons-- https://master.php.net/note/delete/73594 Reject -- https://master.php.net/note/reject/73594 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124021) next »