I have a form (it works fine) but what I want to do is email the form
exactly as it is with the populated information. In otherwords, I want the
email sent to look just like the form that was filled out. I was able to get
it close but the problem I am having is that the form has a table in it and
the table uses a background JPG; but for some reason image is not being
included in the email and I'm stumped as to how to get it in there where it
belongs.
Here's the code I am using in the email function/sub.....
CODE:
Set msgMail=CreateObject("CDO.Message")
msgMail.From = Request("email")
msgMail.To = "someone@someone.com"
msgMail.Subject = "Response To Request"
msgMail.HTMLBody = "
Is there something I am missing or Is there an easier way to do this?
Thanks Much In Advance,
R
Re: Emailing Form Results in HTML
am 11.07.2007 14:20:24 von Daniel Crichton
Rob wrote on Tue, 10 Jul 2007 10:16:02 -0700:
> Hi,
>
> I have a form (it works fine) but what I want to do is email the form
> exactly as it is with the populated information. In otherwords, I want the
> email sent to look just like the form that was filled out. I was able to
> get it close but the problem I am having is that the form has a table in
> it and the table uses a background JPG; but for some reason image is not
> being included in the email and I'm stumped as to how to get it in there
> where it belongs.
>
> Here's the code I am using in the email function/sub.....
>
> CODE:
>
> & _ "
Scroll down to the bit title "Embedding images in the e-mail". However this
will likely only work with Microsoft Outlook/Outlook Express. There are
likely ways to manage it to work with all HTML capable browsers, but I've
not used CDO myself. Personally I use Persits ASPEmail
(http://www.aspemail.com), it's fairly easy to create HTML with inline
images using this.