This project is read-only.
1
Vote

POP3 Retr Method not returning attachments

description

I´m using this library to retrieve message from POP3 Connection. I having trouble returning message from method Retr(). This method is not bringing attachments. Furthermore, the properties Uid and SequenceNumber are returning Null.
 
[TestMethod]
public void GetMessageById() {
using (var client = new Pop3Client()) {
  client.Security = SecurityPolicies.None; 
  client.Connect("pop3.server.com", 110);
  client.Authenticate("teste@server.com", "abc2012", SaslMechanics.Login);
  var message = client.Retr(100).Message;

  Assert.IsNotNull(message);
  Assert.IsTrue(message.Attachments.Count > 0);
}
}

comments