Send HTML mail with ASP.NET controls from windows application

J

ja

To explain:

I want to send HTML email from windows.forms app. I need to have
textual templates which could be used for changing email bodies.

Is it possible to use ASP.NET controls to achieve this? Something like:

1) read textual content from a file to a string (text being mixture of
HTML and ASP.NET tags). For example parent ASP.NET panel control with
number of other ASP.NET controls within.
2) initialize ASP.NET controls from this string
3) databind ASP.NET controls to their data sources
4) render all HTML to email_string
5) send HTML email using email_string as body

thnx in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,535
Members
45,007
Latest member
obedient dusk

Latest Threads

Top