23. DEMOISELLE MAIL
public class Teste {
@Inject
private Mail mail;
public void send() {
mail
.to("somebody@somewhere.com")
.from("somebody@from.com")
.body().text("Email 1")
.attach().url("http://teste.br/t.jpg", "logo.jpg").inline()
.subject("Subject 1")
.send();
}
}