jeudi 14 septembre 2017

Want to send email from Laravel. smtp is hosted in POSTFIX

This is said after searching a lot over internet.I could not get a satisfactory answer.I have installed postfix and dovecot on a Ubuntu box.To test I have sent mail

cat ~/test_message | mail -s 'Test email subject line' -r loki somemail@gmail.com

This has sent out a mail to real email and its working.Now two questions how to use this postfix setup with Laravel for that matter with any language . As far I know I need to open up a user authetication for laravel .env file to be used with mail.But I havent created any user also Laravel code resides on different machine and postfix on a different box how to make this work together.

Any help in that direction is helpful.I am bulding a email marketing system so any inputs over this is also welcomed.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire