Decoding/parsing emails (MIME)

They have: 5 posts

Joined: May 2001

Does anybody know how i can decode (parse, dont know the right word) Emails that are send to a server. I have the email files in directory on the server. Now i want to save the contents of those mails in a database. So i need to decode those files? I am working with asp on IIS.

Thanks

Peter J. Boettcher's picture

They have: 812 posts

Joined: Feb 2000

The SMTP server that is built into IIS is mostly for sending, it can receive emails but it can't do much with them.

You could use ASP and the FSO to scan the incoming folder, open the files, then save that info to the database but won't the content of the incoming emails be encrypted, or is it just plain text?

PJ | Are we there yet?
pjboettcher.com

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.