}
public void signAndSend(long secret, Date now) throws IOException, Message.Malformed {
- SMTP.Outgoing.accept(Message.newMessage(new Stream("From: " + FROM + "\r\n" +
+ SMTP.Outgoing.accept(Message.newMessage(new Fountain.StringFountain("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)
+ sign(secret)))
);
}