This project is read-only.

POP3 Retr Method not returning attachments

Mar 27, 2012 at 9:17 PM
Edited Mar 27, 2012 at 9:19 PM

Hi,

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);
    }
 }
Apr 6, 2012 at 10:32 AM

Hi, 

thank you for you post, please create an issue, I will look into it.

Regards

Alexander