pike.git / lib / modules / Protocols.pmod / SMTP.pmod

version» Context lines:

pike.git/lib/modules/Protocols.pmod/SMTP.pmod:77:    foreach(to, string t)    cmd("RCPT TO: "+t);    cmd("DATA");    cmd(body+"\r\n.");    cmd("QUIT");    }       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"])));    }   }