G
Guest
Hi guys,
I'm working in a C# class library and one of it's functions is to send some
mails.
These mails are meant to contain HTML code and also data obtained
programatically.
No I wonder, insted of having to create all the .html using a StringBuilder
and going back and forth through the data... Is there a way to use an .ASPX
page and render it to obtain the HTML, so I can send it in the
MailMessage.Body?
It would be kinda cool... but I don't know if it's possible. Specially since
I don't have access to a web server to host the page (yes, that way it would
be pretty easy).
Thanks a lot!
I'm working in a C# class library and one of it's functions is to send some
mails.
These mails are meant to contain HTML code and also data obtained
programatically.
No I wonder, insted of having to create all the .html using a StringBuilder
and going back and forth through the data... Is there a way to use an .ASPX
page and render it to obtain the HTML, so I can send it in the
MailMessage.Body?
It would be kinda cool... but I don't know if it's possible. Specially since
I don't have access to a web server to host the page (yes, that way it would
be pretty easy).
Thanks a lot!