--- parser3/src/classes/mail.C 2015/04/08 18:08:52 1.123 +++ parser3/src/classes/mail.C 2015/10/26 01:21:54 1.125 @@ -1,7 +1,7 @@ /** @file Parser: @b mail parser class. - Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com) + Copyright (c) 2001-2015 Art. Lebedev Studio (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) */ @@ -19,7 +19,7 @@ #include "smtp.h" -volatile const char * IDENT_MAIL_C="$Id: mail.C,v 1.123 2015/04/08 18:08:52 moko Exp $"; +volatile const char * IDENT_MAIL_C="$Id: mail.C,v 1.125 2015/10/26 01:21:54 moko Exp $"; // defines @@ -209,7 +209,7 @@ static void _send(Request& r, MethodPara Value* smtp_server_port=0; if(vmail_conf) { // $MAIN:MAIL.SMTP[mail.yourdomain.ru[:port]] - smtp_server_port=vmail_conf->get_hash()->get(String::Body("SMTP")); + smtp_server_port=vmail_conf->get_hash()->get("SMTP"); }