mocking - How to unit test Pop3 Client based on OpenPop.Net -


i know if there's fake (mock) mail server let feed our emails (as text or file) , receive them using our application uses openpop.net. our problem there mails (received various mail servers) have attachments when receive them using our application says don't have attachments.i able test our mail client changing email header.

baby pop3 server looks may suitable needs. description website:

in past have done several projects related e-mail (pop3/smtp/imap4). 1 of problems (at least in company) there never test servers available. that's why decided create simple pop3 server, doesn’t take many resources , supports of standard pop3 commands.

in configuration description can used microsoft's smtp server (which included windows), using smtp server's mail drop folder input folder pop3 server.

this means can email smtp server test emails pop3 server, in theory copy test emails directly folder.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -