Hi
I am sending mail using phpmailer. but when i tried to send mail it shows the error
SMTP -> ERROR: MAIL not accepted from server: 530 5.7.1 Client was not authenticated
The following From address failed: mail@example.com Mailer Error: The following From address failed: mail@example.com
SMTP server error: 5.7.1 Client was not authenticated

Pls help me to solve this..

Client was not authenticated

You need to authenticate. Check this example.

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.