Add attachment to existing mail (without deleting content) 
Author Message
 Add attachment to existing mail (without deleting content)

I'm tryin to add an attachment via VBA to an existing e-mail (already
with content).

The code

    Set myitem = myOlApp.ActiveInspector.CurrentItem
    myitem.Attachments.Add "filename", olByValue

attaches the file "filename" by deleting the content of the mail.

How do I manage to attach the file, without deleting the content?

May the parameter "position" be the clue?

Any hints?

TIA

Guido



Wed, 13 Oct 2004 02:22:30 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. add name of attachment to Subject line and delete attachment

2. Send SMTP mail (with attachments), without using Outlook

3. Saving e-mail to a file WITHOUT attachments

4. Sending e-mail without attachment using MAPI controls

5. deleting of attachments from mail within a .pst file

6. Deleting an e-mail message or an attachment from excel 97 programmatically

7. How to add a contact without opening the v-card attachment

8. Programmatically Adding Attachment to a new mail message?

9. VB Add-In to delete Immediate Window's Contents

10. Adding/Delete e-mail accounts from Outlook?

11. Attachments for e-mail in mail merge

12. How to modified existing field and add new field in existing table for Access database

 

 
Powered by phpBB® Forum Software