Jump to content

Archived

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

mukthar

Simple mail problem

Recommended Posts

Hi friends,
I hope you all would help me to solve this problem.
First I will give you my phpinfor [a href=\"http://www.puremagic.ae/mailtes/inf.php\" target=\"_blank\"]http://www.puremagic.ae/mailtes/inf.php[/a]
Now with these settings I am trying to send a mail from the server, for example a contact form processor.
I have tried everything I know, from basic php mail() function to the best of them, phpmailer.
Basic php mail() functions returns a true value indicating that mails are sent. But I never receive them.
I have tried threeavailable options at phpmailer too. basic mail, sendmail (I set the sendmail path correctly as seen in [a href=\"http://www.puremagic.ae/mailtes/inf.php)\" target=\"_blank\"]http://www.puremagic.ae/mailtes/inf.php)[/a] and smtp mailing. Previously, when I face such errors smtp mailing with user name , password and smtpserver name would work in other servers , but here it also fails here. PHP mailer prints some error and it also fails even with a valid user name and password
Please advice.

Best Regards,
Mukthar M.


Share this post


Link to post
Share on other sites
If mail() returns true but doesn't send the mail, there must be a configuration problem with your server. Try contacting the sysadmin for your server (your hosting provider?)

Rob

Share this post


Link to post
Share on other sites
As the manual says:
[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--] Returns [b]TRUE[/b] if the mail was successfully accepted for delivery, [b]FALSE[/b] otherwise.

It is important to note that just because the mail was accepted for delivery, it does NOT mean the mail will actually reach the intended destination. [/quote]

There are many reasons why mail might not reach its destination. A number of them relate to spam filters set up by the various online mail sites like AOL, MSN, Hotmail, and Yahoo! Mail,

Can you post the script(s) you have been using when attempting to send the email?

If you have access to the mail logs on your host, check to see if your email messages are being sent. If you don't ask your hosting provider to check.

Ken

Share this post


Link to post
Share on other sites

×

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.