Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Mail Authentication
Is there a way to post authentication settings with the mail()
function for sending emails out through a server that requires login?

Report this thread to moderator Post Follow-up to this message
Old Post
bvh
10-23-04 01:55 AM


Re: Mail Authentication
In article <nd1jn0t01r86j2p81ki2qikc3krjn13o35@4ax.com>,
bvh <nospam@nospam.com> wrote:

> Is there a way to post authentication settings with the mail()
> function for sending emails out through a server that requires login?

No, there isn't.  You have to use the PEAR Mail module.  The smtp
"factory" function allows for authentication while the php mail()
function does not.

--
DeeDee, don't press that button!  DeeDee!  NO!  Dee...




Report this thread to moderator Post Follow-up to this message
Old Post
Michael Vilain
10-23-04 08:55 AM


Re: Mail Authentication
Hello,

On 10/22/2004 07:13 PM, bvh wrote:
> Is there a way to post authentication settings with the mail()
> function for sending emails out through a server that requires login?

No, the mail() function does not support setting the authentication.

You mayu want to use this class that comes with a wrapper function named
smtp_mail() that works exactly like the mail() function but lets you set
the SMTP authentication credentials, so you can solve your problem with
minimal changes in your scripts (just change mail() calls to smtp_mail() ).

http://www.phpclasses.org/mimemessage

You also need these other classes for the actual SMTP delivery and to
perform SMTP authentication:

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

Report this thread to moderator Post Follow-up to this message
Old Post
Manuel Lemos
10-23-04 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Language archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:28 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.