Re: SMTP mail server

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

 





Ron Piggott wrote:
How do I specify an actual SMTP server?  (Like mail.host.com)

This is what I have so far:

mail($email, $subject, $message, $headers);

I was to http://ca2.php.net/manual/en/function.mail.php and saw this
syntax:

mail ( string $to , string $subject , string $message [, string
$additional_headers [, string $additional_parameters ]] )

Ronhttp://

http://www.php.net/manual/en/mail.configuration.php

looks like you can edit php.ini and change SMTP=localhost to something else and restart apache (if needed)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux