note 2771 modified in mail by ronabop

From: Date: Mon, 02 Oct 2000 10:03:59 +0000
Subject: note 2771 modified in mail by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-5853@lists.php.net to get a copy of this message
The reason people often ask for a perl-alike mail method is probably because they don't want to add an entire message on one line. You don't need to: $msg = "Hello there,\n\n"; $msg .= "Line2\n"; // appends a line $msg .= "Another line\n\n"; $msg .= "Bye!"; Quite easy and still readable. http://www.php.net/manual/function.mail.php

« previous php.notes (#5853) next »