|
|
| version 1.78, 2002/08/13 15:55:41 | version 1.82, 2002/12/02 10:07:38 |
|---|---|
| Line 124 static void add_header_attribute(const H | Line 124 static void add_header_attribute(const H |
| // append header line | // append header line |
| *mi.header << | *mi.header << |
| low_element_name << ":" << | low_element_name << ":" << |
| attributed_meaning_to_string(element_value, String::UL_MAIL_HEADER). | attributed_meaning_to_string(element_value, String::UL_MAIL_HEADER, true). |
| cstr(String::UL_UNSPECIFIED, 0, mi.charset, mi.content_charset_name) << | cstr(String::UL_UNSPECIFIED, 0, mi.charset, mi.content_charset_name) << |
| "\n"; | "\n"; |
| } | } |
| 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 |