Databases :: MySql :: send mail with php |
|||
| By: VB guy |
Date: 15/11/2004 08:39:53 |
Points: 70 | Status: Answered Quality : Excellent |
|
hi.. i have 2 servers, (web server and mail server), i want to send mails with the "mail" function in php, i need to use sendmail from "mail server" not from "web server". How i can do that? thnkx |
|||
| By: FiatLink | Date: 15/11/2004 08:40:32 | Type : Answer |
|
| Modify the php.ini settings file for the smtp to point to the the other server The section looks like this... [mail function] ; For Win32 only. SMTP = localhost ; for Win32 only ; For Win32 only. sendmail_from = me@localhost.com ; for Win32 only ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ;sendmail_path = If you using Windows then the php.ini file is in the Windows directory. I'm not sure where it is at for UNIX. |
|||
| By: VGR | Date: 15/11/2004 08:41:08 | Type : Comment |
|
| yes | |||
| By: Bernard | Date: 15/11/2004 08:41:37 | Type : Comment |
|
| insert the smtp host in [mail function] ; For Win32 only. SMTP = localhost ; for Win32 only it works fine! |
|||
| By: Bernard | Date: 03/12/2004 09:34:16 | Type : Comment |
|
| any news from this ? | |||
|
Do register to be able to answer |
|||
©2010 These pages are served without commercial sponsorship. (No popup ads, etc...). Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE.
Please DO link to this page!








