Branch: Tag:

1999-06-23

1999-06-23 23:20:41 by Mattias Andersson <matan@lysator.liu.se>

Added adress parser to simpel_mail.

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

86:       void simple_mail(string to, string subject, string from, string msg)    { -  send_message(from, ({ to }), +  array foo = MIME.tokenize(to); +  string bar = "<"+replace(((foo/({60}))[-1]/({62}))[0],64,"@")*""+">"; +  send_message(from, ({ bar }),    (string)MIME.Message(msg, (["mime-version":"1.0",    "subject":subject,    "from":from,