Jump to content

PHP mail function not working anymore (server issue?)


chimmy

Recommended Posts

Hi guys,

 

I've moved a site from one server to another server from the same hosting company, and now my website doesn't seem to send any e-mails.

 

So i was wondering if this is a server issue? my admin doesn't seem to have a clue, so i'm going to the masses for help.

 

http://evergreenearth.com/whatphp.php

 

	$sendTo = "jchiem@####com";
	$subject = "Newsletter Submit";

	$headers = "From: " .  $_POST["email"] ."\r\n";

	$message = $_POST["first"] . "\r" . $_POST["last"] . "\r" . $_POST["email"] ."\r" . $_POST["dob"] ."\r" . $_POST["radio3"] . "\r" . $_POST["radio1"] . "\r\n";

	mail($sendTo, $subject, $message, $headers);

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.