View Single Post
 
Old November 7th, 2004, 01:20 PM
richard.york's Avatar
richard.york richard.york is offline
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

You can specify an SMTP server if the OS is Windows. If the OS is *nix, the path to sendmail is required. In fact on a *nix server it isn't possible to specify an SMTP server in the same way that it is possible for Windows, it must be the path to sendmail. Without a proper configuration the mail function won't work. You can also bypass the mail() function by connecting to an SMTP server directly.

Regards,
Rich

--
[http://www.smilingsouls.net]
[http://pear.php.net/Mail_IMAP] A PHP/C-Client/PEAR solution for webmail