Branch: Tag:

1998-05-11

1998-05-11 22:53:15 by Marcus Comstedt <marcus@mc.pp.se>

Removed utterly unnecesary multipart-generation in simple_mail()...

Rev: lib/modules/Protocols.pmod/SMTP.pmod:1.5

84:    void simple_mail(string to, string subject, string from, string msg)    {    send_message(from, ({ to }), -  (string)MIME.Message(0, (["mime-version":"1.0", +  (string)MIME.Message(msg, (["mime-version":"1.0",    "subject":subject,    "from":from, -  "to":to]), -  ({ MIME.Message(msg, -  (["content-type":"text/plain;charset=iso-8859-1", -  "content-transfer-encoding":"8bit"])) }))); +  "to":to, +  "content-type": +  "text/plain;charset=iso-8859-1", +  "content-transfer-encoding": +  "8bit"])));    }   }