Solved

SMTP server response: 530 authentication required

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
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.

630 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