mailhog / mhsendmail

sendmail for MailHog
MIT License
253 stars 60 forks source link

Is it possible to use mhsendmail to send to a gmail server? #23

Closed marksmithjobapps closed 6 years ago

marksmithjobapps commented 6 years ago

Hello,

This is an excellent tool, thank you. I understand that it was meant for testing but is it possible to use this so that my php webform sends mails directly to my gmail account via mhsendmail?

I saw the setting directly below in the project page and was wondering if it can accept the settings that gmail would need (shown bottom) and if so, can you give any pointers on the syntax?

./mhsendmail --smtp-addr="localhost:1026" test@mailhog.local ...

gmail:

tls on tls_certcheck off auth on host smtp.gmail.com port 587 user user1@gmail.com from user1@gmail.com password yourgmailPassw0rd

Thanks

marksmithjobapps commented 6 years ago

Sorry, I actually read the documentation and the above is no longer and issue... :-)

Thanks for creating this...