Solved

SMTP server response: 530 authentication required

Posted on 2004-10-16
4
20,440 Views
Last Modified: 2013-12-13
The full error is as follows:
Warning: mail(): SMTP server response: 530 authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html in c:\program files\apache group\apache\htdocs\send_simpleform.php on line 10

I receive the error above when I attempt to send mail via a PHP script.
From what I have read the PHP mail() function does not support Authenticated SMTP,
just uses SMTP on the localhost, or that configured in the PHP.ini file.

What I was reading suggested to use the PEAR functions. Hm….. after looking that the functions PEAR provides PEAR may not work on a WIN machine.

How do I get around this situation?
0
Comment
Question by:cdplayer
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:alexhogan
ID: 12334586
You might want to look into phpMailer, http://phpmailer.sourceforge.net

It's free and very reliable.  I have used it on numerous projects without a hitch.
0
 
LVL 1

Author Comment

by:cdplayer
ID: 12335712
Thank you Alex for the pointer! There are many files within the phpmailer Zip file. What files should I move to the htdocs directory? All of them?

I was not able to find the installation instructions unless the PHPMailer tutorial contains the instructions. I don't think that it mentions were the files should go.

Besides that I think that I understand what is going on.

Thanks!
0
 
LVL 8

Accepted Solution

by:
alexhogan earned 270 total points
ID: 12336000
Unzip the files to a single directory of your choice inside your public html structure.  Presumably the same place where you would call up any other class or included files.

The documentation is a little lacking but you should be able to pick up the jest of it pretty easily.
0
 
LVL 1

Author Comment

by:cdplayer
ID: 12342471
BEAUTIFUL!!!!

Thanks Alex!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now