Skip to content

Commit

Permalink
Merge branch 'master' of [email protected]:Coreoz/Plume.git
Browse files Browse the repository at this point in the history
  • Loading branch information
amanteaux committed Jun 22, 2021
2 parents 27caee1 + d3fe78a commit 9b9a034
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions plume-mail/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@ public class EmailService {
}

public void sendEmail() {
Email email = new Email();
email.addNamedToRecipients("Russell Powell", "[email protected]");
email.setSubject("Plume Framework");
email.setText("You should check out this awesome framework!");
Email email = EmailBuilder
.startingBlank()
.to("Russell Powell", "[email protected]")
.withSubject("Plume Framework")
.withPlainText("You should check out this awesome framework!")
.buildEmail();
mailer.sendMail(email, true);
}
}
Expand Down

0 comments on commit 9b9a034

Please sign in to comment.