
02/03/2013 0 Envoi de mail avec sendmail quand on utilise wamp en local | |
Mots-clés: | |
http://blog.techwheels.net/send-email-from-localhost-wamp-server-using-sendmail/ 1. Enable “ssl_module” module in Apache server: 2. Enable “php_openssl” and “php_sockets” extensions for PHP compiler: 3. Open php.ini from “C:\wamp\bin\apache\Apache2.2.17\bin” and configure it as following (The php.ini at “C:\wamp\bin\php\php5.3.x” would not work) (You just need to configure the last line in the following code, prefix semicolon (;) against other lines): [mail function] ; For Win32 only. ; http://php.net/smtp ;SMTP = ; http://php.net/smtp-port ;smtp_port = 25 ; For Win32 only. ; http://php.net/sendmail-from ;sendmail_from = you@domain.com ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ; http://php.net/sendmail-path sendmail_path = "C:\wamp\sendmail\sendmail.exe -t -i" | |