I am trying to send mail using php. But it shows error as failed to connect with mailserver 'localhost'. Then i use smtp.bizmail.yahoo.com, then it shows SMTP error 530, Authentication required.. I don't know how to pass smtp username and password through php.ini file.. If anybody have better ideas, please suggest me.. Thanks in advance for your suggestions.....

Recommended Answers

All 3 Replies

I use SwiftMailer to use SMTP servers that require authentication, very easy and reliable:

www.swiftmailer.org

For authentication, what wil u give..?

I need to use phpmailer only... So please, give suggestions on that...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.