mail(from)
Posted: Thu Oct 23, 2003 2:30 pm
Code: Select all
<?php
mail("lppunkskater@hotmail.com", "Automated Scipt", "$mailcontent");
?>A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<?php
mail("lppunkskater@hotmail.com", "Automated Scipt", "$mailcontent");
?>Code: Select all
<?php
$sendto = 'lppunkskater@hotmail.com';
$subject = 'Automated Scipt';
$header = "From: $name\r\nReply-To: $email\r\n";
mail($sendto, $subject, $mailcontent, $header)
?>Code: Select all
<?php
$to = "youremail@address.com";
$subject = "Hello There";
$message = "How are you doing?";
$headers = "From: sender@example.com\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "Cc: example@example.com\r\n";
$headers .= "Bcc: example@example.com\r\n";
mail($to, $subject, $message, $headers);
?>