i'm quite sure you can't with php's built-in mail() function. however more advanced modules should support it. look in PEAR, google for phpmailer, etc. i'm sure there's got to be some. worst case i think you have all the tools in PHP to make your own anyway.
On 9/16/07, debussy007 <[EMAIL PROTECTED]> wrote: > debussy007 wrote: > > > > Hello, > > > > I have read here : http://www.geekzone.co.nz/tonyhughes/599 > > that I can use Gmail as a free SMTP server. > > > > Is it possible to change the php.ini in order to have this running ? > > > > I need to specify in some way the following : > > > > Outgoing Mail (SMTP) Server - requires TLS: smtp.gmail.com (use > > authentication) > > Use Authentication: Yes > > Use STARTTLS: Yes (some clients call this SSL) > > Port: 465 or 587 > > Account Name: your Gmail username (including '@gmail.com') > > Email Address: your original isp address ([EMAIL PROTECTED]) > > Password: your Gmail password > > > > > > > > I can see in the php.ini that I can specify the port, smtp server and the > > from. > > > > But how do I do for he other parameters ? > > > > Thank you !! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php