Re: Urgent Help about SMTP sending mail error....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On 01/26/2004 06:54 AM, Imran Zamir wrote:
> I'm using Windows2000 advance server, php 4 and using cable net through ISA server when I try to send email via php script it returned the following message.
>  
> Warning: mail(): SMTP server response: 503 5.5.2 Need Rcpt command. on line 38
> 
>  
> I Select my SMTP Server->access tab -> Relay->All except the list bellow.
>  
> What should I configure to send mail via php.

That sounds like a bug in the mail() function that is not sending the 
right SMTP commands.

Are you sure you do not need to authenticate to relay the messages? That 
is a common reason for failure.

In that case, you may want to try this class that comes with a wrapper 
function named smtp_mail(). It emulates the mail() function but lets you 
specify authentication credentials if you need them.

http://www.phpclasses.org/mimemessage

You also need this for SMTP delivery

http://www.phpclasses.org/smtpclass

-- 

Regards,
Manuel Lemos

Free ready to use OOP components written in PHP
http://www.phpclasses.org/

MetaL - XML based meta-programming language
http://www.meta-language.net/


Look here for Free PHP Classes of objects:
http://phpclasses.UpperDesign.com/ 

Yahoo! Groups Links

To visit your group on the web, go to:
 http://groups.yahoo.com/group/php-objects/

To unsubscribe from this group, send an email to:
 php-objects-unsubscribe@yahoogroups.com

Your use of Yahoo! Groups is subject to:
 http://docs.yahoo.com/info/terms/ 



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux