Re: Re: smtp authentication

From: Date: Sun, 11 May 2003 11:07:54 +0000
Subject: Re: Re: smtp authentication
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-147193@lists.php.net to get a copy of this message
okay, your advises were all very usefull. The scripts all do their work. Because I do this all for testing (in web I have a functional mailing-thing) I looked for a simple solution... ...and found one. I simply use an SMTP-Server that doesn't need autenth. So in the end there's only one question: is there any risk in using an SMTP-Server that's not hosted by my provider? I guess not, but who knows? Thanks for an answer, Tim. Electroteque <daniel@electroteque.org> schrieb in im Newsbeitrag: EJECKPELDLGDPHHJOEDLMEPEENAA.daniel@electroteque.org... > good question , i made an smtp class , and was trying to figure out how to > send md5 passwords although , the server needs to be setup for md5-auth , > also the server i was testing on doesnt have login setup so i couldnt test > it :\ > > i think this is becoming more smtp specific so here u go > > http://www.faqs.org/rfcs/rfc821.html > > http://james.apache.org/rfclist/smtp/rfc2554.txt > > -----Original Message----- > From: Tim Grote [mailto:tim.grote@web.de] > Sent: Sunday, May 11, 2003 1:27 AM > To: php-general@lists.php.net > Subject: [PHP] Re: smtp authentication > > > Thanks for help, seems very usefull to me. But I have one question: what is > the 'authentication realm'? > > Greets > Tim > > Manuel Lemos <mlemos@acm.org> schrieb in im Newsbeitrag: > 3EBD13AF.2090807@acm.org... > > Hello, > > > > On 05/10/2003 11:42 AM, Tim Grote wrote: > > > I have problems connecting php to mailserver. I get the message: 'SMTP > > > server response: 530 Authentication required'. Fir sure I have that > authent, > > > but how do I send my name and password to the mailserver? > > > > The mail() function does not support authentication. You may want to try > > this class that comes with a wrapper function named smtp_mail() that can > > emulates the mail() function but supports setting the authentication > > credentials. > > > > http://www.phpclasses.org/mimemessage > > > > You also need this other class to do the actual SMTP delivery. > > > > http://www.phpclasses.org/smtpclass > > > > > > -- > > > > Regards, > > Manuel Lemos > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#147193) next »