c# - Get the outlookItem type of an attachment in outlook -



c# - Get the outlookItem type of an attachment in outlook -

i getting attachments outlook mail. there traps aroudn c#, of them solved ugly hacks. there 1 not able solve.

if add together attachment file, whole filename saved including file extenssion. when save file disc later it's saved correctly can dblclick file , it's opened in right application.

but if attachement added using "attach item" -> "add outlook item", mail/calender/contact added without file extenssion. if add together mail service mail function .msg fileextension not part of filename , when trying save disc recognized outlook mail.

but if check in outlook can see right icon added attachment, outlook able know if it's mail service / contact / calenderitem info should there somewhere.

does knows how find out it's .msg in attachment?

when pass outlook item attachments.add, add together create embedded message attachment (attachment.type = olembeddeditem) opposed regular olbyvalue attachment.

btw, filename(attachment.filename) include .msg extension. cases when not there?

c# email outlook

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -