SendMail: add quotes around boundary type specification.
[cfb.git] / prod / net / jaekl / qd / util / SendMail.java
index dc65e4fdca9ce84f30e7aae751805795b4bbaeb5..b4c783488431f86bb53774569ac305e71774a9cb 100644 (file)
@@ -146,7 +146,7 @@ public class SendMail {
        void sendMimeHeaders(PrintWriter pw)
        {
                sendLine(pw, "MIME-Version: 1.0");
-               sendLine(pw, "Content-Type: multipart/mixed; boundary=" + getBoundary());
+               sendLine(pw, "Content-Type: multipart/mixed; boundary=\"" + getBoundary() + "\"");
        }
        
        void sendMimeParts(PrintWriter pw) {