Posted 25 March 2006 - 04:27 PM
mail('firstname.lastname@example.org', 'Subject', 'Your message here.',
"To: The Receiver <email@example.com>\n" .
"From: The Sender <firstname.lastname@example.org>\n")
and I don't get an error, but I also don't recieve the email. What am I doing wrong?
Posted 01 June 2007 - 01:24 PM
$subject = "New Password For $username"; $message = "Hi $username,\n we have reset your password. \n New Password: $random_password \n $siteurl/login.php \n Thanks! $admin_email \n This is an automated message system, please do not reply!"; mail($email_address,$subject,$message,"From:$admin_email "); echo "Your password has been sent! Please check your email!<br />";
obviously change the message etc to suit yourself.
Posted 18 December 2007 - 04:34 AM
<?php $email = $_POST["Email"]; $to = 'email@example.com, ' . $_POST["Email"]; $subject = 'Application for Joining'; $from = 'From: ' . $email; $date = date(n/j/y g:i:s e) $text = 'Submission: ' . $date . '<br/>Name: ' . $_POST["Name"] . '<br/>Tags: ' . $_POST["Tags"] . '<br/>E-mail: ' . $_POST["Email"] . '<br/>Date: ' . $_POST["Date"] . '<br/>Other E-mails: ' . $_POST["other_emails"] mail($to,$subject,$text); ?>The page won't show up when I submit the form. It just shows up white...
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users