.Core/SMTP: minor fix

git-svn-id: svn://ultimatepp.org/upp/trunk@4855 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2012-04-25 10:27:31 +00:00
parent 46dd9f4f45
commit 207648e325

View file

@ -66,7 +66,7 @@ public:
Smtp& NoHeaderSep() { no_header_sep = true; return *this; }
Smtp& AttachFile(const char *filename, const char *mime = 0);
Smtp& Attach(const char *name, const String& data, const char *mime = 0);
Smpt& AddHeader(const String& text) { add_header << text << "\r\n"; }
Smtp& AddHeader(const String& text) { add_header << text << "\r\n"; }
Smtp& AddHeader(const char *id, const String& txt) { add_header << id << ": " << txt << "\r\n"; }
Smtp& New();