Re: SMTP mail server
| From: | Adam Williams | Date: | Sat, 25 Apr 2009 01:04:11 +0000 |
| Subject: | Re: SMTP mail server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-291960@lists.php.net to get a copy of this message | ||
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.phplooks like you can edit php.ini and change SMTP=localhost to something else and restart apache (if needed)