Problem in sending mail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
crazyphpprogrammer
Forum Newbie
Posts: 4
Joined: Fri Oct 28, 2011 5:20 am

Problem in sending mail

Post 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/
User avatar
egg82
Forum Contributor
Posts: 156
Joined: Sat Oct 01, 2011 9:29 pm
Location: Colorado, USA

Re: Problem in sending mail

Post 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.
Post Reply