[Migrated content. Thread originally posted on 13 October 2005]
Hi,
Using the web-browser control, how can I either ATTACH an html file to an email, or INSERT an html file in an email?
Thanks,
Tom
I don't think there is anything 'built in', but you may select everything on display in the control and copy it to the clipboard. Then you can use API functions to inquire the clipboard content or you can paste it into for instance the richtextbox control and then use sample code elsewhere in this forum to send email with that as attachment.
[Migrated content. Thread originally posted on 13 October 2005]
Hi,
Using the web-browser control, how can I either ATTACH an html file to an email, or INSERT an html file in an email?
Thanks,
Tom
Thanks. Is there a way to launch Internet Explorer already populated with an html file?
[Migrated content. Thread originally posted on 13 October 2005]
Hi,
Using the web-browser control, how can I either ATTACH an html file to an email, or INSERT an html file in an email?
Thanks,
Tom
Sure, that is what you got an example of in the other thread where you asked about browser.
But then, why use external browser to show something you can show internally? If you already have the file, you can just attach it using the sendmail with attachment example elsewhere in this forum.
If you need to show it, just use the web-browser control.
Both of these give you way much more control of the process than you will ever make using an external utility.