[PHP] Re: SMTP Authentication with PHP
Hello, On 04/15/2004 02:24 PM, Mike Knittel wrote: My SMTP server requires authentication when sending mail. How do I send SMTP authentication information when using the PHP mail() function? The mail() function does not support authentication. You may want to try this class that comes with a wrapper function named smtp_mail(). It emulates the mail() function completely but lets you configure details like authentication and such. Just edit the smtp_mail.php script. http://www.phpclasses.org/mimemessage You also need this: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Re: SMTP Authentication
Thanks, I'll check them out. -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED] Sent: March 12, 2004 11:31 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: SMTP Authentication Hello, On 03/13/2004 12:54 AM, Beauford wrote: How would I set up PHP to use SMTP authentication when I send an email. For example, in MS Outlook I have authentication set to use the same settings as my incoming mail. I have searched around but haven't found anything that deals with this. The mail function does not support authentication. 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 the authentication credentials: http://www.phpclasses.org/mimemessage You also need this: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: SMTP Authentication
I still wonder, how your smtp server requires authentification even when using the function internally. For my education please... does that means that you are using a third party SMTP, meaning some SMTP outside your server? vamp Beauford [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Thanks, I'll check them out. -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED] Sent: March 12, 2004 11:31 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: SMTP Authentication Hello, On 03/13/2004 12:54 AM, Beauford wrote: How would I set up PHP to use SMTP authentication when I send an email. For example, in MS Outlook I have authentication set to use the same settings as my incoming mail. I have searched around but haven't found anything that deals with this. The mail function does not support authentication. 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 the authentication credentials: http://www.phpclasses.org/mimemessage You also need this: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: SMTP Authentication
Hi Richard, unfortunately you err. I use already XnView. This program does not support the looked for formats. m. b. G. Norbert _ normal: 02686-987103 Notruf: 0177-2363368 - e.o.m. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: SMTP Authentication
The thing is... if you are sending the mail from within your server why do you need to authentificate you are yourself? Vamp. Beauford [EMAIL PROTECTED] escribió en el mensaje news:[EMAIL PROTECTED] Hi, How would I set up PHP to use SMTP authentication when I send an email. For example, in MS Outlook I have authentication set to use the same settings as my incoming mail. I have searched around but haven't found anything that deals with this. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: SMTP Authentication
Hello, On 03/13/2004 12:54 AM, Beauford wrote: How would I set up PHP to use SMTP authentication when I send an email. For example, in MS Outlook I have authentication set to use the same settings as my incoming mail. I have searched around but haven't found anything that deals with this. The mail function does not support authentication. 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 the authentication credentials: http://www.phpclasses.org/mimemessage You also need this: http://www.phpclasses.org/smtpclass -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP Reviews - Reviews of PHP books and other products http://www.phpclasses.org/reviews/ Metastorage - Data object relational mapping layer generator http://www.meta-language.net/metastorage.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php