Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

SMTP server response: 530 authentication required

Posted on 2004-10-16
4
20,552 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
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…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

808 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