- Download Sendmail for Windows;
- Extract
sendmail.zipand place the contents in an easily accessible place, likeC:\sendmail; - Open the
sendmail.inifile using a text editor such as notepad and edit the following values:[sendmail] smtp_server=mail.example.com smtp_port=465 [email protected] auth_password=your_password
- Comment out the unnecessary lines (put a semicolon before them):
[mail function] ; For Win32 only. ;SMTP = localhost ;smtp_port = 25 - Uncomment
sendmail_pathand point it to wheresendmail.exefile resides:; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). sendmail_path = C:\sendmail\sendmail.exe - Save the
php.inifile and restart all web services.
NOTE: For emails to be sent through an external SMTP server your computer must be connected to the internet!
If this was useful, you can buy me a coffee here. Thank you!
I've downloaded send mail for windows and extracted all the files in C://wamp64/sendmail but is has just 5 files and only 1 configuration file having some xml code inside it.
What should I do?