PHP mail confusion

I have had this mail script working, but when moving the script to an SSL site it no longer works.

What am is missing??

$eml = "";
				$mailheader  = 'MIME-Version: 1.0' . "\r\n";
				$mailheader .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
				$mailheader .= 'From: <>'."\r\n";
				$mailcontent = "<h4>";
				$mailcontent .= "Hi there tony</h4>";
				$mailcontent .= "<p>Your registration with Arcade Operator is almost complete.<br/>Just click the following link to activate your account.</p>";
				$mailcontent .= "<p><a href='' title='Account Activation'>Click Here To Activate Your Account</a></p>";
				$mailcontent .= "<p>&nbsp;</p>\n\n";
				$mailcontent .= "<p>Once you have activated your account you may login by visiting <a href=''>Arcade Operator</a></p>";
				$mailcontent .= "<p></p>\n\n";
				mail($eml, "Activate Your Account",$mailcontent,$mailheader,"");

Do you have access to the logs of your website and do they show something?

If not, you should probably ask your host. The code as is looks fine, so it’s probably a setup thing on the host.

1 Like

It is me being an idiot.

I haven’t setup the mail server on the domain name to point to my hosting.
(I’m hosting the site)

1 Like