joshuaowned212
New Member
- Messages
- 4
- Reaction score
- 0
- Points
- 0
Hey, I wanted to know if there was a way to make my contact form send emails via my personal email address, as opposed to the website email address... I would want to use something like SMTP as my email client does not support POP/IMAP. I have a free webhosting account and I don't want to install webapps if they're not really necessary.
If there is a way to temporarily connect through SMTP in the form mailer's php that would be great, the type of form mail I'm using, I'm not sure about but this is basically the format:
If there is a way to temporarily connect through SMTP in the form mailer's php that would be great, the type of form mail I'm using, I'm not sure about but this is basically the format:
Code:
$headers = "From: $fromPerson\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/html; charset=iso-8859-1\r\n";
$success = mail($email, $subject, $body, $headers);
$theResults = <<<EOD
EOD;
?>