|
|
| version 1.78, 2002/08/13 15:55:41 | version 1.80, 2002/10/14 15:22:41 |
|---|---|
| Line 400 static void _send(Request& r, const Stri | Line 400 static void _send(Request& r, const Stri |
| const String *from, *to; | const String *from, *to; |
| const String& message=hash->get(*body_name)/*old format*/? | const String& message=hash->get(*body_name)/*old format*/? |
| message_hash_to_string(r, method_name, *hash, 0, &from, &to) : // old | message_hash_to_string(r, method_name, *hash, 0, &from, &to) : // old |
| static_cast<VMail *>(r.self)->message_hash_to_string(r, &method_name, hash, 0, &from, &to); // new | static_cast<VMail *>(r.get_self())->message_hash_to_string(r, &method_name, hash, 0, &from, &to); // new |
| //r.write_pass_lang(message); | //r.write_pass_lang(message); |
| sendmail(r, method_name, message, from, to); | sendmail(r, method_name, message, from, to); |
| Line 419 void MMail::configure_user(Request& r) { | Line 419 void MMail::configure_user(Request& r) { |
| Pool& pool=r.pool(); | Pool& pool=r.pool(); |
| // $MAIN:MAIL[$SMTP[mail.design.ru]] | // $MAIN:MAIL[$SMTP[mail.design.ru]] |
| if(Value *mail_element=r.main_class->get_element(mail_name, r.main_class, false)) | if(Value *mail_element=r.main_class.get_element(mail_name, &r.main_class, false)) |
| if(Hash *mail_conf=mail_element->get_hash(0)) | if(Hash *mail_conf=mail_element->get_hash(0)) |
| r.classes_conf.put(name(), mail_conf); | r.classes_conf.put(name(), mail_conf); |
| else | else |