AdonisJS Email Provider
Full Changelog: https://github.com/adonisjs/mail/compare/v9.2.0...v9.2.1
Full Changelog: https://github.com/adonisjs/mail/compare/v9.1.0...v9.2.0
The mjml component can be used as @mjml
tag and it uses the mjml npm package to convert MJML markup to HTML.
You can use it follows inside within the Edge templates.
@mjml()
<mjml>
<mj-body>
<mj-section>
<mj-column>
<mj-text>
Hello World!
</mj-text>
</mj-column>
</mj-section>
</mj-body>
</mjml>
@end
The output will be HTML. Just make sure to install mjml
package within your application before using the component tag
Full Changelog: https://github.com/adonisjs/mail/compare/v9.0.0...v9.1.0
Please consult the following releases to learn more about the breaking changes and new additions.
Full Changelog: https://github.com/adonisjs/mail/compare/v8.2.1...v9.0.0
Full Changelog: https://github.com/adonisjs/mail/compare/v9.0.0-9...v9.0.0-10
Full Changelog: https://github.com/adonisjs/mail/compare/v9.0.0-8...v9.0.0-9
Full Changelog: https://github.com/adonisjs/mail/compare/v9.0.0-7...v9.0.0-8
Alright, so from now on, the Mail package might not see any other big refactor. So, let's jot down the breaking changes from @adonisjs/[email protected]
to @adonisjs/[email protected]
.
@ioc:Adonis/Addons/Mail
import has been replace with @adonisjs/mail/services/main
. Both these imports returns an instance of the MailManager
class.MailManager.extend
method. We have changed the process of creating mail transports completely and the new docs will reflect the same.Mail.monitorQueue
method. Instead listen for the queued:mail:error
and mail:sent
events.Mail.scheduleEmail
. The method was never documentedMailer.driver
property to Mailer.transport
. The mailer instance is returned when you call Mail.use
method.That's pretty much all. There are many internal refactors, which should not impact the end-user applications.
Full Changelog: https://github.com/adonisjs/mail/compare/v9.0.0-6...v9.0.0-7
Full Changelog: https://github.com/adonisjs/mail/compare/v9.0.0-5...v9.0.0-6
Full Changelog: https://github.com/adonisjs/mail/compare/v9.0.0-4...v9.0.0-5