removing attachments...

  • Thread starter Thread starter Harry
  • Start date Start date
Status
Not open for further replies.
H

Harry

Hi,

I was just wondering if it was possible to strip out some attachments

and keep others in an outlook email via code....?

Say an email has 5 attachments.....how do i save the email with 2 of

the attachments stripped out...?

Also, How can I access individual attachments as seperate files??

I am programming for outlook 2007 with C#....any code sample will be

really helpuful!

Thanks,
 
These samples show various ways to save and strip attachments:

http://www.fontstuff.com/outlook/oltut01.htm

http://www.outlookcode.com/codedetail.aspx?id=70

http://www.outlookcode.com/codedetail.aspx?id=1494

http://www.slovaktech.com/code_samples.htm#StripAttachments

http://www.outlookcode.com/codedetail.aspx?id=1926

http://www.outlookcode.com/codedetail.aspx?id=866 -- VBA with Windows API

calls to display the file folder selection dialog

Sue Mosher

"Harry" <silver.planet.inc@gmail.com> wrote in message

news:79554917-53ea-4329-b040-d7daaabda6b6@r42g2000yqj.googlegroups.com...
> Hi,

> I was just wondering if it was possible to strip out some attachments
> and keep others in an outlook email via code....?
> Say an email has 5 attachments.....how do i save the email with 2 of
> the attachments stripped out...?

> Also, How can I access individual attachments as seperate files??

> I am programming for outlook 2007 with C#....any code sample will be
> really helpuful!
> Thanks,
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
R Outlook is NOT removing attachments. Using Outlook 4
P Removing Outlook 365 Account from Send/Receive Using Outlook 1
D Question on removing an alias Using Outlook 1
G Removing old emails when adding accounts Using Outlook 3
C Outlook 2007 Removing then adding account restores junk email processing Using Outlook 0
M Help sending email but removing signature via VBA Outlook VBA and Custom Forms 5
B Removing Recipients from an automatic response Outlook VBA and Custom Forms 2
O How to paste website content using a specific font and removing URLs Using Outlook 2
M VBA Rule for removing all body but hyperlink then forwarding Outlook VBA and Custom Forms 9
N Recurring invite sent w/distribution list adding/removing attendees Using Outlook 0
A Removing illegal characters Outlook VBA and Custom Forms 2
D 'removing' an e-mail folder Using Outlook 2
G Wrong display name in from column when removing pf replication Exchange Server Administration 1
S Removing an Exchange Server account, retaining POP accounts Exchange Server Administration 1
D Removing Pop3 accounts on mulitple computers Using Outlook 3
K Removing outlines from outlook calendar Using Outlook 1
L Outlook 2007 - How to remove account without removing mail folders? Using Outlook 4
R What to backup before removing Outlook 2010? Using Outlook 4
V Outlook problem after removing avast Using Outlook 1
P Removing expired e-mail addresses Using Outlook 2
D Removing multiple Exchange 2007 servers on the same Domain and site Exchange Server Administration 1
S Removing myself as delegate from someone else's calendar Using Outlook 1
T Removing time zone setting from an appointment / meeting: is it possible? Using Outlook 2
C removing "Microsoft "End-User License Agreement" window BCM (Business Contact Manager) 1
S Removing "Research" menu item Outlook VBA and Custom Forms 1
L Outlook attachments from OneDrive as links Using Outlook 0
G Print email attachments when hit subfolder Outlook VBA and Custom Forms 1
R Saving Emails and Attachments as .msg file Using Outlook 3
KurtLass Opening Graphics Attachments in Outlook 2021 Using Outlook 0
F Outlook 2016 Email with attachments not being received Using Outlook 2
Commodore PDF attachments started to open in Edge Using Outlook 0
T Outlook 2021 Cannot open attachments Outlook DeskTop 2021 Using Outlook 0
D ISOmacro to extract active mail senders name and email, CC, Subject line, and filename of attachments and import them into premade excel spread sheet Outlook VBA and Custom Forms 2
Witzker Outlook 2019 Macro to answer a mail with attachments Outlook VBA and Custom Forms 2
P Print attachments automatically and move the mail to an existing folder called "Ted" Outlook VBA and Custom Forms 4
G Schedule recurring email and attachments display Outlook VBA and Custom Forms 3
G Save and Rename Outlook Email Attachments Outlook VBA and Custom Forms 0
L Macro/VBA to Reply All, with the original attachments Outlook VBA and Custom Forms 2
A Attachments.Delete Outlook VBA and Custom Forms 3
M Deleting attachments does not reduce file size Using Outlook 0
L unblocking attachments before sending Office 365 Advanced Protection Using Outlook 0
I Saving attachments from multiple emails and updating file name Outlook VBA and Custom Forms 0
R Use an ItemAdd to Save Attachments on Arrival Outlook VBA and Custom Forms 0
shrydvd vba to secure zip attachments Outlook VBA and Custom Forms 3
R fetching blocked attachments Outlook VBA and Custom Forms 0
H Outlook 2016 sent over 30 copies of an e-mail with attachments Using Outlook 1
W Automatically open attachments without automatically printing them Using Outlook 0
O Save attachments using hotkey without changing attributes Outlook VBA and Custom Forms 1
T Outlook converts sent email to txt attachments when sync Using Outlook 0
Nadine Rule to move attachments with specific name Outlook VBA and Custom Forms 1

Similar threads

Back
Top