I tried:



from this post How to have my PHP Send mail?

and the classical


with sudo sendmailconfig

nothing works

I can see no error messages.

My host is windows 10.

Any ideas?

I tried as well:

echo "My test email being sent from sendmail" | /usr/sbin/sendmail [email protected]


echo "test"|mail -s test [email protected]

no errors in neither

no spam email, nothing

phpinfo() shows

sendmail_path /usr/sbin/sendmail -t -i

1 Answer 1


i actually made it work using ssmtp from the link in the question and turning on https://www.google.com/settings/security/lesssecureapps

using a gmail address

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .