Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Send emails using Strapi

Tags:

strapi

I have not understood how the Strapi email plugin works.:(

If I only use Strapi-Sendmail, how do I send a mail from Localhost over port 25 so that I can test locally if my Strapi sends mail?

Why does the recipient("to") have to be "[email protected]"? I can enter any sender, if I use PHP. A little introduction would be helpful!

Setting on "Public" just for test: enter image description here

In "Email.js":

enter image description here

Tested via Postman:

enter image description here

I read this article, unfortunately I have not completely understood yet. Send mails

like image 573
Benjamin Reeves Avatar asked May 13 '19 12:05

Benjamin Reeves


1 Answers

Yes it worked for me. Create an account on Sendgrid and enter your secret ID it should work.

like image 82
vinzcelavi Avatar answered Oct 22 '22 20:10

vinzcelavi