inline attachments

J

John C.

I'm looking for a way to create inline attachments in an e-mail sent
via Exchange. Actually I may want to originate the e-mail using .NET
System.Web.Mail from a Windows 2003 Server using SMTP, but automating
(from an ActiveX DLL) a user's Outlook is also an option.

From the Outlook side I can create an inline attachment if I use RTF
format (although I'm not under what conditions this option appears in
the Format menu of a compose e-mail window).

I can also create an in-line attachment in HTML format using the
technique described at
http://blogs.msdn.com/kclemson/archive/2003/11/11/53902.aspx, but this
seems somewhat dodgy considering how it is done and I've not seen this
documented anywhere so I'm guessing it is not supported and/or might
no longer work in a future version of Outlook.

Does anyone have any further insights in to creating inline
attachments? In particular, is the second approach considered
undocumented?
 
S

Sue Mosher [MVP-Outlook]

Well, I don't know of any other choices. Pick one. (HINT: RTF can't be done
with System.Web.Mail.) The second approach is officially undocumented, but
so are a lot of other Outlook techniques.

Frankly, I'd be asking whether inline attachments were essential to the
application.

FYI, there is a newsgroup specifically for general Outlook programming
issues "down the hall" at microsoft.public.outlook.program_vba or, via web
interface, at
http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.public.outlook.program_vba
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top