0 votes
by (140 points)


is there a way to add the haeder information like to, cc, subject in the html body string, without doing it manually?

I want to create the same result that a client like outlook does when you want to print the email.

Thank you in advance


Applies to: Rebex Secure Mail

1 Answer

0 votes
by (70.5k points)


unfortunately, Rebex Mail API does not offer any method to "automatically" modify HTML body content in a way you need.

The best way is to modify the MailMessage.BodyHtml property manually.