Requirement: - Need to design methods for fetching mails from Outlook Exchange Server and Send Mail to any mail server in VB.Net
Environment: -

OS  Windows Xp, 7

Exchange Server - Exchange Server 2003

IDE  Visual Studio 2008

Language  VB. Net

.

 

Requirement Priority:  High

.

 

Requirement Description: -

.

 We need to design VB. Net based dll, which will have two methods with following features: -

 

            1) It should be capable to fetch mails from exchange server and store, each mail content (attachment and body) in folder wise.

 

                      Like,   MailFolder\MailUID1234567891\

                                 MailFolder\MailUID1234567892

                                 MailFolder\MailUID1234567893

                                 MailFolder\MailUID1234567894 etc.

.

                 2) It should be capable to send mail to any mail server.

 

Note: - Our requirement is to download each mail in EML format, but MAPI doesnt support EMLformat, so that, we are storing (attachment and body) separately folder wise. [Kindly let us know, if there is any fix way to download EML from MAPI or any other suitable approach]

 .

 

Kindly assist me. I will be really thankful.

 

Thanks & Regards,

S.P. Singh

April 1st, 2015 12:45pm

If your using MAPI and want EML I would suggest having a read of the suggestions in http://stackoverflow.com/questions/25381099/save-mail-in-mime-format-eml-in-outlook-add-in . On 2003 you could also make use of WebDAV and save the message of as EML that way https://blogs.msdn.com/cfs-filesystemfile.ashx/__key/communityserver-components-postattachments/00-00-65-28-51/WEBDAV-101-_2D00_rev-1.6.doc (however WebDAV isn't available on versions of Exchange after 2007) .Personally I would go with Redemption because this will continue to work no matter if you upgrade to 2010,2013 or Exchange Online and will be much easier to write and maintain code wise.

Cheers
Glen


Free Windows Admin Tool Kit Click here and download it now
April 2nd, 2015 12:02am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics