I recently had a project where I needed an auto email program to deal with emails automatically. To automatically read them and save the contents to a text file. We have an account which emails are sent to, this program needs to save the text of the email and any attachment in a directory ready for another program to process.
I decided to go with the idea that C# would provide more options and would be easier to use.
Auto Email solution
I managed to create a automatic email program with the help of this program from Code Project. I used the classes with attached within to gather the email, save the text and attachment. After modifying a few things to work for me, and the attachment didn’t seem to save until I forced it to do a binary save.
Hope this helps someone.