Ejemplo n.º 1
0
 /// <summary>
 /// Constructor, creates the gmail atom feed object.
 /// <note>
 /// Creating the object does not get the feed, the <c>GetFeed</c> method must be called to get the current feed.
 /// </note>
 /// </summary>
 /// <param name="gmailUserName">The username of the gmail account that the message will be sent through</param>
 /// <param name="gmailPassword">The password of the gmail account that the message will be sent through</param>
 public GmailAtomFeed(string gmailUserName, string gmailPassword)
 {
     _gmailUserName = gmailUserName;
     _gmailPassword = gmailPassword;
     _entryCol      = new AtomFeedEntryCollection();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor, creates the gmail atom feed object. 
 /// <note>
 /// Creating the object does not get the feed, the <c>GetFeed</c> method must be called to get the current feed.
 /// </note>
 /// </summary>
 /// <param name="gmailUserName">The username of the gmail account that the message will be sent through</param>
 /// <param name="gmailPassword">The password of the gmail account that the message will be sent through</param>
 public GmailAtomFeed(string gmailUserName, string gmailPassword)
 {
     _gmailUserName = gmailUserName;
     _gmailPassword = gmailPassword;
     _entryCol = new AtomFeedEntryCollection();
 }