Branch: Tag:

1998-04-19

1998-04-19 19:17:26 by Niels Möller <nisse@lysator.liu.se>

Fixed error an message, s/news/mail/.

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

61:       if(!connect(server,25))    { -  throw(({"Failed to connect to news server.\n",backtrace()})); +  throw(({"Failed to connect to mail server.\n",backtrace()}));    }       if(readreturncode()/100 != 2)
73:       void send_message(string from, string *to, string body)    { -  cmd("MAIL FROM:"+from); +  cmd("MAIL FROM: "+from);    foreach(to, string t) -  cmd("RCPT TO:"+t); +  cmd("RCPT TO: "+t);    cmd("DATA");    cmd(body+"\r\n.");    cmd("QUIT");