getgrav / grav-plugin-email

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

Expand documentation for sending emails programatically #147

Closed aricooperdavis closed 2 years ago

aricooperdavis commented 3 years ago

It would be nice to expand the documentation for how to send emails programatically; at the moment the documentation is essentially just the example code given in the swiftmailer documentation.

For example:

I'm happy to do this, but didn't want to put the work in and submit a pull request if there's not consensus that this is a good idea!

rhukster commented 3 years ago

I would totally accept a more detailed PR for the readme.

rhukster commented 2 years ago

Cleaning up old issues. please read: https://getgrav.org/blog/new-email-plugin

If you are interested in how to send email programmatically you can look in several places the Utils.php class in the email plugin, as well as the new Email.php class that are part of the symfony/mailer branch of the email plugin.