Home ยป Php ยป php.ini file -> what should I write in "sendmail_path" variable? Using IIS SMTP Virtual Server

php.ini file -> what should I write in "sendmail_path" variable? Using IIS SMTP Virtual Server

Posted by: admin February 25, 2020 Leave a comment

Questions:

enter image description here

I want to use my brand new SMTP virtual server configured inside IIS (see image ๐Ÿ™‚ but I always get this error when I try to send an email:

“sendmail_path” variable not specified in your php.ini file.

This is my php.ini file:

SMTP = localhost

smtp_port = 25

username = [email protected]

password = my_password

QUESTION: What should I write in sendmail_path variable?

How to&Answers: