diff --git a/uppsrc/Core/SMTP/SMTP.h b/uppsrc/Core/SMTP/SMTP.h index ebc5906e9..65e721394 100644 --- a/uppsrc/Core/SMTP/SMTP.h +++ b/uppsrc/Core/SMTP/SMTP.h @@ -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();