--- parser3/src/classes/mail.C 2016/09/08 20:41:47 1.129 +++ parser3/src/classes/mail.C 2016/11/01 23:10:40 1.131 @@ -19,7 +19,7 @@ #include "smtp.h" -volatile const char * IDENT_MAIL_C="$Id: mail.C,v 1.129 2016/09/08 20:41:47 moko Exp $"; +volatile const char * IDENT_MAIL_C="$Id: mail.C,v 1.131 2016/11/01 23:10:40 moko Exp $"; // defines @@ -98,7 +98,7 @@ static void sendmail( // win32 without SMTP server configured throw Exception(PARSER_RUNTIME, 0, - "$"MAIN_CLASS_NAME":"MAIL_NAME".SMTP not defined"); + "$" MAIN_CLASS_NAME ":" MAIL_NAME ".SMTP not defined"); #else // unix // $MAIN:MAIL.sendmail["/usr/sbin/sendmail -t -i -f postmaster"] default @@ -219,7 +219,7 @@ static void _send(Request& r, MethodPara smtp_server_port?true:false /*send by SMTP=strip to?*/, to); if(print_debug) - r.write_pass_lang(message); + r.write(message); else sendmail(vmail_conf, smtp_server_port, message, from, to, soptions); }