login about faq

When sending the mail using chilkat.net Mailman, The email body content is sent as an attachments(ATT00001.htm) . On analysis it is due to Microsoft exchange server issue which convert the body content to attachment only when the email has any attachments.

As per the below solution the body content should be set as First before the attachments(hope so in mime file). https://support.microsoft.com/en-gb/help/969854/the-body-of-a-message-is-shown-incorrectly-as-an-attachment-if-you-try-to-use-an-application-in-an-exchange-server-environment-to-send-a-message-that-includes-attachments

below is the .net code used to send the mail.

Email.AddFileAttachment(ImagePath) Email.SetHtmlBody(Htmlcontent) Mailman.SendEmail(Email);

how to achieve this or any other solution to avoid the body content as attachments.

Thanks in Advance Rajesh

asked Jan 31 at 09:23

tbala's gravatar image

tbala
12


If you update to the latest version of Chilkat it should resolve the problem.

Another solution is to change the order -- call SetHtmlBody first, then AddFileAttachment. (You're likely using an older version where the order mattered.)

link

answered Feb 01 at 08:53

chilkat's gravatar image

chilkat ♦♦
12.8k317366475

Hi.The latest version is not resolved my issue,But the changing order is resolved the issue.Thanks a Lot.

(Feb 02 at 04:10) tbala

I am also experiencing the same behavior with chilkat-x64 (9.5.0.65) for .NET 4.6. It does not seem to affect Gmail though, but Outlook does not like it.

(Feb 28 at 12:00) roan98dk
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×17

Asked: Jan 31 at 09:23

Seen: 665 times

Last updated: Feb 28 at 12:00

powered by OSQA