- SMTP.Outgoing.accept(new Message(new Stream("From: " + FROM + "\r\n" +
- "To: " + who.toString(true) + "\r\n" +
- "Subject: confirm " + getDescription() + "\r\n" +
- "\r\n" +
- "Please click the link below to " + getDescription() + "\r\n" +
- sign(secret)),
- new Message.Envelope(FROM, who, now)
- )
+ SMTP.Outgoing.accept(Message.newMessage(new Stream("From: " + FROM + "\r\n" +
+ "To: " + who.toString(true) + "\r\n" +
+ "Subject: confirm " + getDescription() + "\r\n" +
+ "\r\n" +
+ "Please click the link below to " + getDescription() + "\r\n" +
+ sign(secret)),
+ FROM, who)