Пример #1
0
 //
 // Construct a new wrapper message over an existing mailmsg.
 //
 public Message(object pMsg)
     : base((IMailMsgProperties) pMsg)
 {
     this.PrivateRecips = new RecipCollection(this);
 }
Пример #2
0
 //
 // public methods:
 //
 //
 // CoCreate an in-memory mailmsg from scratch.
 //
 public Message()
 {
     pMsg = (IMailMsgProperties) new MailMsgClass();
     this.PrivateRecips = new RecipCollection(this);
 }