ASP.net VB.net html email with link or button to print

Hi

In ASP.net VB.net I am sending an email with html embedded in the body.
Is it possible to include something in that html that if clicked on will print the
body of the message?
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ryan ChongSoftware Team LeadCommented:
Is it possible to include something in that html that if clicked on will print the
body of the message?
we usually don't do that, which the printing task is usually handled by the email client (it could be outlook, web browser, etc)

if you really want to do a print action there, then the link must launching a web URL (must think if the content to be printed need security protection?) which then probably loaded in a web browser, and then trigger a print action.

hope this make sense.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ste5anSenior DeveloperCommented:
In addition to Ryan's answer:

It would require some JavaScript, which would not work in every client and which would for sure be treated as dangerous by the Spam/AV filter.

Depending on what you like to be printed, consider adding it as PDF attachment.
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.