From 5d38231dac2bd52595334b3252e511fa99c5d98d Mon Sep 17 00:00:00 2001 From: rylek Date: Thu, 27 Jan 2011 19:03:16 +0000 Subject: [PATCH] .Web: added default (Null) value for 'name' parameter of member function SmtpMail::ReplyTo git-svn-id: svn://ultimatepp.org/upp/trunk@3114 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Web/smtp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Web/smtp.h b/uppsrc/Web/smtp.h index a4f06d3a2..b45651614 100644 --- a/uppsrc/Web/smtp.h +++ b/uppsrc/Web/smtp.h @@ -12,7 +12,7 @@ public: SmtpMail& To(const String& t, AS a = TO) { return To(t, Null, a); } SmtpMail& Cc(const String& t, const String& name = Null) { return To(t, name, CC); } SmtpMail& Bcc(const String& t, const String& name = Null) { return To(t, name, BCC); } - SmtpMail& ReplyTo(const String& r, const String& name); + SmtpMail& ReplyTo(const String& r, const String& name = Null); SmtpMail& Text(const String& t, const String& mime_ = Null) { text.Add(t); mime.Add(mime_); return *this; } SmtpMail& NoHeader() { no_header = true; return *this; } SmtpMail& NoHeaderSep() { no_header_sep = true; return *this; }