Jump to content

[Solved] Php Mail() Problem


raymond01

Recommended Posts

PHP mail() problem

 

I have a form on my site that I thought worked at one time, but does not now. Tried it on another host and it works. (same version of PHP)

 

Also if somebody tries to send me an email at domainfw@domainfwd.heliohost.org, or any address at my domain, it does not get to the address that I forwarded it to and tried webmail thru Cpanel but don't see it there either. I have set the 'Default Address Maintenance' to 'Send all unrouted email for:' domainfwd.heliohost.org to a GMX.com address. I have not changed any MX records for domainfwd.heliohost.org.

 

I have been testing the form, possibly sending out bad email. Is it possible that somehow I have been banned from receiving/sending email because of this? Or maybe I have something misconfigured in Cpanel?

 

I am on stevie. domain: domainfwd.heliohost.org username: domainfw

Link to comment
Share on other sites

You could check that is the Php Mail() working or not by using this code outside of the form.

 

 

<?php

 

mail('youremailhere', 'TEST EMAIL', 'TEST EMAIL');

 

Of course, be sure to replace "youremailhere" with your email. Then, verify that you actually get the email.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...