开发者

Sending an email with an image embedded in the body from C# [closed]

开发者 https://www.devze.com 2022-12-14 11:35 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. 开发者_开发百科 Closed 9 years ago.

My problem is how to send an email with attachemnts to the default mail client programmatically.

My requirements are:

  1. setting destination, CC, BCC
  2. link to attachment(s)
  3. adding and image like a banner in the message body

I succeded to compose an email in the various ways and adding attachments are not the problem but adding an embedded image is.

I had composed the message body as HTML and had integrated the image Base64 encoded but Outlook and Outlook Express does not recognized the image. Why?

Does anybody have a solution to my problems.

I solved a part of my problems calling MAPI.

0

精彩评论

暂无评论...
验证码 换一张
取 消