Re: Newbie - Setting Up Some Basic Sendmail Scripts
| From: | Manuel Lemos | Date: | Wed, 06 May 2009 00:52:26 +0000 |
| Subject: | Re: Newbie - Setting Up Some Basic Sendmail Scripts | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-292321@lists.php.net to get a copy of this message | ||
Hello,
on 05/05/2009 02:20 PM revDAVE said the following:
> I'm trying to set up some basic php send mail scripts - and I'm curious of
> the best way to go...
>
>
> I checked these basics out:
>
> http://us.php.net/manual/en/function.mail.php
>
> And got this code below going, but I'll bet I need a bit more - like adding
> authentication - smtp - port - sending user / pass etc.
>
> Any hints how to get this to the next level?
It seems the SMTP server is only requiring authentication because it is
in a different machine of what you run PHP. In that case, you may want
to read this article:
http://www.phpclasses.org/blog/package/9/post/1-Sending-email-using-SMTP-servers-of-Gmail-Hotmail-or-Yahoo-with-PHP.html
--
Regards,
Manuel Lemos
Find and post PHP jobs
http://www.phpclasses.org/jobs/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/