|
Posted by NC on 10/05/06 17:44
huntedsnark wrote:
>
> I am working on a webpage that is on a different server
> than the email server that the company wants me to use
> to send emails.
>
> Is it possible to change the PHP.ini file to use this non-
> local SMTP server, or is it not that simple?
This is possible only if you are running PHP on Windows:
http://us3.php.net/manual/en/ref.mail.php#ini.smtp
On Unix, PHP does not normally use SMTP; it communicates
with a mail transfer agent (MTA) directly; dealing with SMTP is
left to the MTA.
This said, you can still have a PHP script send e-mail via
SMTP (local or otherwise), if you use phpMailer:
http://phpmailer.sf.net/
Cheers,
NC
Navigation:
[Reply to this message]
|