Page 1 of 1

Problem in sending mail

Posted: Sun Dec 04, 2011 1:02 am
by crazyphpprogrammer
Hi,

I have tried to use phpmailer class to send mail. But it shows the error Could not instantiate mail function.. I tried by replacing the "@mail" with "mail" in the phpmailer class, then it shows the error Server response 503 SMTP authentication required. I am using the mail function in the phpmailer class to send the mail. I am able to send the mail without the phpmailer class by using the mail() function in php. Can you please help.

Thanks in advance.
http://i-am-freelancer.blogspot.com/

Re: Problem in sending mail

Posted: Sun Dec 04, 2011 11:53 am
by egg82
I think the error is in the mail server you are using, not the PHP code. Make sure you're using a legitimate mail server that you have full access to.