Update of /cvsroot/mahogany/M/include
In directory usw-pr-cvs1:/tmp/cvs-serv7495/include
Modified Files:
SendMessage.h SendMessageCC.h
Log Message:
added SetFcc, removed old '#' hack from SendMessage
Index: SendMessage.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/SendMessage.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -b -u -2 -r1.10 -r1.11
--- SendMessage.h 11 Jun 2002 20:22:27 -0000 1.10
+++ SendMessage.h 7 Sep 2002 00:03:24 -0000 1.11
@@ -81,11 +81,11 @@
/** Sets the address fields, To:, CC: and BCC:.
- @param To primary address to send mail to
- @param CC carbon copy addresses
- @param BCC blind carbon copy addresses
+ @param to primary address to send mail to
+ @param cc carbon copy addresses
+ @param bcc blind carbon copy addresses
*/
- virtual void SetAddresses(const String &To,
- const String &CC = "",
- const String &BCC = "") = 0;
+ virtual void SetAddresses(const String &to,
+ const String &cc = "",
+ const String &bcc = "") = 0;
/** Sets the value for the from field.
@@ -98,5 +98,23 @@
const String &sender = "") = 0;
+ /**
+ Sets the Newsgroup header value
+
+ @param groups comma-separated list of newsgroups
+ */
virtual void SetNewsgroups(const String &groups) = 0;
+
+ /**
+ Sets the folders to copy the message to after sending it. By default, the
+ FCC value is the value of MP_OUTGOINGFOLDER entry in the profile
+ associated with this message if MP_USEOUTGOINGFOLDER is true and empty
+ otherwise, but if this method is used it overrides this value and so
+ specifying an empty string here disables copying the message to
+ SentMail.
+
+ @param fcc comma-separated list of folders to copy the message to
+ @return true if all folders were ok, false if there was an error
+ */
+ virtual bool SetFcc(const String& fcc) = 0;
//@}
Index: SendMessageCC.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/SendMessageCC.h,v
retrieving revision 1.51
retrieving revision 1.52
diff -b -u -2 -r1.51 -r1.52
--- SendMessageCC.h 11 Jun 2002 20:22:27 -0000 1.51
+++ SendMessageCC.h 7 Sep 2002 00:03:24 -0000 1.52
@@ -63,4 +63,6 @@
virtual void SetNewsgroups(const String &groups);
+ virtual bool SetFcc(const String& fcc);
+
virtual void SetHeaderEncoding(wxFontEncoding enc);
@@ -152,7 +154,4 @@
bool WriteMessage(soutr_t writer, void *where);
- /// Parses string for folder aliases, removes them and stores them in m_FccList.
- void ExtractFccFolders(String &addresses);
-
/// sets one address field in the envelope
void SetAddressField(ADDRESS **pAdr, const String& address);
@@ -225,7 +224,4 @@
String m_OutboxName;
- /// "Sent" folder name or empty
- String m_SentMailName;
-
/// Default charset
String m_CharSet;
@@ -262,5 +258,5 @@
MessageHeadersList m_extraHeaders;
- /// a list of folders to save copies in
+ /// a list of folders to save copies of the message in after sending
kbStringList m_FccList;
-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone? Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates