Solved

SMTP server response: 530 authentication required

Posted on 2004-10-16
4
20,583 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
[X]
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
  • 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

730 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