RE: [PHP] Email..
| From: | Peter Houchin - SunRentals Australia | Date: | Mon, 21 May 2001 00:09:31 +0000 |
| Subject: | RE: [PHP] Email.. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-53646@lists.php.net to get a copy of this message | ||
$address .= $email ;//insert a comma after $ email to include another address, email address taken
from session varables
// Subject
$subject = " ";
//Body of email
$body = " ";
//Where the email is from
//$from = "sender";
$headers .= "From: \n";
$headers .= "X-Sender: \n";
$headers .= "X-Mailer: PHP\n"; // mailer
$headers .= "Return-Path: \n"; // Return path for errors
$headers .= "X-Priority: 1\n"; // Urgent message!
/* If you want to send html mail, uncomment the following line */
//$headers .= "Content-Type: text/html; charset=iso-8859-1\n"; // Mime type
$headers .= " \n"; // CC to
//send the email
$mail = mail("$address", "$subject", "$body", "$headers
\nContent-Type: text/plain; charset=iso-8859-1\nContent-Transfer-Encoding: 64bit" );
Peter Houchin
Short Term Rental Manager
peterh@sunrentals.com.au
Telephone : (03) 9329 1455
Facsimile : (03) 9329 6755
=========================================================
_____ __ /\
/_/_/_\ / |_/ \
/_/_/_ __ __ __ __ / \
\_/_/_\ /_/ /_/ /_/ /_/ \ _ /
___\_\_\/ /_/_/_/ /_//\/_/ \_/ \/\_/
\_//_/_/ /_/_/_/ /_/ \/_/ v
________ ________________________________________
/_/_/_/_/ /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
/_/_ _/_/ ______ __ __ /_/ ____ __ ______
/_/_/_/_/ /_/_/_/ /_/ /_/ /_/ /_/\_\ /_/ /_/_/_/
/_/ \_\ /_/ _/ /_//\/_/ /_/ /_/__\_\ /_/___ _\_\_\
/_/ \_\/_/_/_/ /_/ \/_/ /_/ /_/ \_\/_/_/_//_/_/_/
=========================================================
-----Original Message-----
From: ddogbruce@home.com [mailto:ddogbruce@home.com]
Sent: Monday, May 21, 2001 10:04 AM
To: php-general@lists.php.net
Subject: [PHP] Email..
Can someone give me a template of an email form?
I don't want it to use an email client, though.
I don't get the mail function, and I've been out of the loop too long.
:(
-Owen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net