Web Hosting Talk







View Full Version : Does anyone know?


yeswebmaster
08-25-2001, 06:52 PM
Hello,

I'm hoping that you someone could help me out with a technical question I have. My site is hosted with Site5, and I am trying to run Max-Email, a php script. It uses the mail() function in php. However, I cannot send messages! :bawling:

So, I uploaded a php file containging this:

<?php

// mail($to,$subject,$message,$headers);

mail("yourname@yoursite.com","your subject","hey this is the message","");

?>

and inserted my own email address for yourname@yoursite.com, then I visited the URL 5 times, and never recieved a single email.

I have my MX record set for everyone.net, so I can offer free email to my visitors. Is that why the mail() function isn't working? Or is there another reason.

I haven't been able to get a response from Site 5, so I'm hoping someone else knows the answer, if it's because of the MX record, is there any way around that?

Thanks,

Alan - Vox
08-25-2001, 07:32 PM
id guess that has something to do with the way the site5 server is configured, your code looks right, you mx records being set to everyone.net shouldnt affect it.

nopzor
08-25-2001, 07:43 PM
is your sendmail path configured properly in your php ini?
check your mail log (probably /var/log/maillog)