Re: Mail question

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

 



Hello,

on 02/14/2005 04:12 PM ReClMaples said the following:
I have a quick, probably easy to answer question.  I am trying to add the
ability to email from like a quest book or a calendar event and get an
authentication error in my error log.  I can only believe that this is due
to my smtp server needed to know my login and password.  Is there a way I
can pass this in the php.ini file?  I am using apache 2.0 and PHP 4.03 on a
windows xp machine.  If this can be done, please let me know, any other
suggestions would be welcomed.

The mail function does not support SMTP authentication.

You may want to try this class that comes with a wrapper function named smtp_mail(). It is a direct replacement of the mail() function that lets you send messages to any SMTP server that requires authentication.

http://www.phpclasses.org/mimemessage

You also need these:

http://www.phpclasses.org/smtpclass

http://www.phpclasses.org/sasl

--

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 Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux