Send Mail Through Personal Account

Status
Not open for further replies.

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:

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;
?>
 

Skizzerz

Contributors
Staff member
Contributors
Messages
2,928
Reaction score
118
Points
63
We restrict outgoing email on Free Hosting to only your email addresses added via cPanel in an effort to reduce spam coming from our servers; if we allowed people to connect to external SMTP services such as gmail, yahoo, etc. there is a high likelihood that people will start using that for spam and thus get the Free Hosting servers placed on email blacklists, which negatively impacts thousands of people.
 
Status
Not open for further replies.
Top