February 19, 2015 at 11:11 am
Hi,
I am using IBM Notes (Email services) not Outlook. I want to download Email attachment from SSIS.
Please advise.
Thank You.
February 19, 2015 at 12:04 pm
if your email server supports a standard POP3/SMTP interface, it's possible, but complicated code, since it would involve c#/vb.net code in a script task, and of course requires a lot of extra logic: besides the classic connection information, you need to pull all? emails from the email server, and for each attachment in each email, download them and save them to disk, right?
can you assume that every attachment needs to be saved form every email? will you be saving Viagra.jpg from random spam emails? only specific extensions?
you need to also delete the email after you pull it, so that you don't redownload it all over again.
without more details, i can just push you towards code examples:
Lowell
February 19, 2015 at 2:54 pm
I just want to download only where email is abc@hello.com (as an example) and download the attachment on network drive folder.
Is there any third party software doing this ?
February 19, 2015 at 3:01 pm
rocky_498 (2/19/2015)
I just want to download only where email is abc@hello.com (as an example) and download the attachment on network drive folder.Is there any third party software doing this ?
from one of the links here, the guys from CozyRoc had something back in 2010:
http://www.sqlservercentral.com/Forums/Topic783332-148-1.aspx
CozyRoc (6/8/2010)
If you can use third-party solutions, check the commercial CozyRoc Receive Mail Task. It supports both POP3 and IMAP for connecting to mail server.
it's a big freaking task, i'm telling you though;
i did a proof of concept to do this before, and it was a very deep rabbit hole to fall into.
Lowell
February 19, 2015 at 3:19 pm
Yeh 100% agree. I have to do something to make this happen with your help 😀
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply