0 votes


the idea was to have the attachment also inline in the table

enter image description here
Is this also possible?


related to an answer for: Attachments in template mail
by (300 points)
edited by
What do you mean by inline?
Image changed /resized to Show attachment column

1 Answer

0 votes

No, it is not possible.

Unless those are links to external server, email doesn't offer such feature.

by (298k points)
e.x. Outlook itself is able to do so, but I Need to Change the Format of the mail to RichText. I assume tat the tool is "only" able to handle HTML Mails and therefore this is not possibe to accomplish with the tool?

Maybe it's possible to add a HTML Link to the CID of a attachment within a template? ("This is my <a href=\"cid:" + atch.ContentId + "\">file</a>")


You can create any MIME document with Mail.dll, you can use RTF content if you want (MailBuilder.Rtf property).

However I doubt that it will be handled as you want by every email client there is. What happens if you send such email from Outlook to Gmail? Does it look good in Gmail?

The global consensus seem to be to use attachments as all would expect: on the attachment list, not inside email body.

To be honest, I don't know how email clients would react on cid in "a href=" attribute. I would expect many of them block such HTML, as users could be tricked in doing something they don't want. But as, I said, I simply don't know.