Today I updated my POP3 client library for support .NET 4.5.1, Visual Studio 2013 and Windows Runtime 8.1.
You can download the library from NuGet, or if you want to browse the code go to GitHub repository.
Enjoy it!
Today I updated my POP3 client library for support .NET 4.5.1, Visual Studio 2013 and Windows Runtime 8.1.
You can download the library from NuGet, or if you want to browse the code go to GitHub repository.
Enjoy it!
How can i fetch unread message ?!?!
Hi,
You can retrieve unread message with this code:
foreach ( Pop3Message message in messages )
{
pop3Client.Retrieve( message );
Console.WriteLine( “MessageId: {0}”, message.MessageId );
Console.WriteLine( “Date: {0}”, message.Date );
Console.WriteLine( “From: {0}”, message.From );
Console.WriteLine( “To: {0}”, message.To );
Console.WriteLine( “Subject: {0}”, message.Subject );
}
Buen dia, muchas gracias por la libreria, esta muy buena, pero quisiera saber como yo puedo indentificar si un email es unread o no, despues que llamo al método List de la clase Pop3Client. Pues cuando ejecuto el Retrieve es para cada uno de los mensaje obtenidos. No se si me explico bien. Gracias de antemano.
Hola Catherine, Con POP3 no podes saber que mensajes están Read o Unread. Técnicamente todos los mensajes que están en el servidor son Unread, ya que si no los deberías haber descargado. Mas información aquí:
Hi. Is there an option to get and save attachments?
Hi Michael,
Unfortunately right now the only way to work with attachments is manually encode/decode the message body.
Regards//