massive robustness overhaul
[org.ibex.mail.git] / src / org / ibex / mail / Confirmation.java
index 9bf7804..ba15fb8 100644 (file)
@@ -88,13 +88,12 @@ public abstract class Confirmation implements Externalizable {
     }
 
     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)))
                              );
     }