Solved

SMTP server response: 530 authentication required

Posted on 2004-10-16
4
20,521 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:Elton Brown
  • 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:Elton Brown
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:Elton Brown
ID: 12342471
BEAUTIFUL!!!!

Thanks Alex!
0

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
.htaccess 5 39
Be edit-table when I click the edit button (turn into inputs boxes) 7 31
PHP and google maps 13 46
MySql and Apache/PHP Error Reporting 2 28
This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

821 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