--- parser3/src/classes/mail.C 2016/03/31 21:46:20 1.126 +++ parser3/src/classes/mail.C 2016/03/31 21:55:07 1.127 @@ -19,7 +19,7 @@ #include "smtp.h" -volatile const char * IDENT_MAIL_C="$Id: mail.C,v 1.126 2016/03/31 21:46:20 moko Exp $"; +volatile const char * IDENT_MAIL_C="$Id: mail.C,v 1.127 2016/03/31 21:55:07 moko Exp $"; // defines @@ -205,7 +205,7 @@ static void _send(Request& r, MethodPara if(Value* vdebug=hash->get(MAIL_DEBUG_NAME)) print_debug=vdebug->as_bool(); - Value* vmail_conf=static_cast(r.classes_conf.get(mail_name)); + Value* vmail_conf=static_cast(r.classes_conf.get(mail_class->name())); Value* smtp_server_port=0; if(vmail_conf) { // $MAIN:MAIL.SMTP[mail.yourdomain.ru[:port]]