getgrav / grav-plugin-email

Grav Email Plugin
http://getgrav.org
MIT License
37 stars 29 forks source link

How to implement custom mail function? #48

Closed kaladivo closed 7 years ago

kaladivo commented 7 years ago

I am pretty new to the grav. I like the CMS, it is great.

But one thing I am struggling with is that I need to implement custom mail function. I want to send mails using sparkpost. Is there any way how to implement custom mail engine?

I know the answer will probably be trivial. But I can't find it anywhere...

rhukster commented 7 years ago

Sparkpost seems to use its own custom method. You could fork the email plugin and add support. Or create your own plugin, but that is less optimal.

rhukster commented 7 years ago

Actually Sparkpost now has SMTP support and I just tested and it works fine. I've updated the README.md with an example of the setup.