Releases: sargue/mailgun
Releases · sargue/mailgun
v1.3.2
v1.3.1
v1.3.0
v1.2.0
v1.1.0
- New fire and forget async send method. See
Mail.sendAsync()
. - Some notable changes on the content generation helpers. More info
in the wiki
The main code for sending simple mails hasn't changed.
TL;DR Don't useMailBuilder
anymore, useMail.bodyBuilder()
.
Migration guide:
Where you had
MailContent mailContent = new MailContent()
[content stuff here]
.close();
MailBuilder.using(configuration)
.content(mailContent)
[mail envelope stuff here]
.build()
.send();
You can translate it to this beauty:
Mail.using(configuration)
.body()
[content stuff here]
.mail()
[mail envelope stuff here]
.build()
.send();
First release
First release