PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook VBA Programming Save Email as .eml

Reply

Save Email as .eml

 
Thread Tools Rate Thread
Old 18-02-2004, 09:13 AM   #1
MeAndI
Guest
 
Posts: n/a
Default Save Email as .eml


Hi to all,

I'm a new developer of VBA application and I think you will help me.
I need to create a VBA macro wich:

when new mail is detected
move it in another folder (e.g. myFolder)
if in the subject string is present a defined string
save the mail item as eml or mht

Is this possible? if yes, please help
thanks


  Reply With Quote
Old 18-02-2004, 12:29 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Save Email as .eml

Outlook doesn't have any functionality to save as eml or mht. Depending on
the message format, you can save as txt, rtf, msg, oft or htm.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"MeAndI" <sebabert@libero.it> wrote in message
news:R0GYb.15451$FJ6.607991@twister1.libero.it...
> Hi to all,
>
> I'm a new developer of VBA application and I think you will help me.
> I need to create a VBA macro wich:
>
> when new mail is detected
> move it in another folder (e.g. myFolder)
> if in the subject string is present a defined string
> save the mail item as eml or mht
>
> Is this possible? if yes, please help
> thanks
>
>




  Reply With Quote
Old 18-02-2004, 04:49 PM   #3
Dmitry Streblechenko \(MVP\)
Guest
 
Posts: n/a
Default Re: Save Email as .eml

<plug>
Redemption (url in my sig.) supports export/import to/from EML files - see
SafeMailItem.SaveAs(..., olRFC822) and SafeMailItem.Import()
</plug>

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


"MeAndI" <sebabert@libero.it> wrote in message
news:R0GYb.15451$FJ6.607991@twister1.libero.it...
> Hi to all,
>
> I'm a new developer of VBA application and I think you will help me.
> I need to create a VBA macro wich:
>
> when new mail is detected
> move it in another folder (e.g. myFolder)
> if in the subject string is present a defined string
> save the mail item as eml or mht
>
> Is this possible? if yes, please help
> thanks
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off