$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
[EMAIL PROTECTED]
Telephone : (03) 9329 1455
Facsimile : (03) 9329 6755
=========================================================
     _____                              __   /\
    /_/_/_\                            /  |_/  \
   /_/_/_    __  __  __   __          /         \
   \_/_/_\  /_/ /_/ /_/  /_/          \   _     /
 ___\_\_\/ /_/_/_/ /_//\/_/            \_/ \/\_/
 \_//_/_/ /_/_/_/ /_/ \/_/                    v
     ________   ________________________________________
    /_/_/_/_/  /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
   /_/_ _/_/ ______  __   __  /_/ ____      __     ______
  /_/_/_/_/ /_/_/_/ /_/  /_/ /_/ /_/\_\    /_/    /_/_/_/
 /_/  \_\  /_/ _/  /_//\/_/ /_/ /_/__\_\  /_/___ _\_\_\
/_/    \_\/_/_/_/ /_/ \/_/ /_/ /_/    \_\/_/_/_//_/_/_/
=========================================================
  
 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 21, 2001 10:04 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
  • [PHP] Email.. [EMAIL PROTECTED]
    • Peter Houchin - SunRentals Australia

Reply via email to