What about setting the background of a table, or a table cell, or using
CSS e.g. BODY {
background-image:url(
http://www.whatever.com/whatever.gif); })?
Same again! I've even tried posting the variables to a new asp page like you
suggested with CreateMHTMLBody = myURL but that doesn't work either - I get
a 500 internal server error : ( this is really getting on my nerves now. It
should be so easy.
C:\ and relative will never work if you send the e-mail anywhere... I
think it may be a mail client issue, how many different clients have you
tested? Just yours?
Yes, but as its plain old OE I'm sure 60-70% of users have it or derivatives
that work in the same way as it. Its just got to work!
Perhaps you could explain what's wrong with this code that's causing the 500
internal server error -
<%
If Request.Form("process") = "True" Then
formToName = Request.Form("to_name")
formFromName = Request.Form("from_name")
formEmailTo = Request.Form("to_email")
makeURL = "
http://www.ourserver.com/thepage.asp?to_name=" & formToName &
"from_name=" & formFromName & ""
Set MyCDONTSMail = CreateObject("CDO.Message")
MyCDONTSMail.From = "(e-mail address removed)"
MyCDONTSMail.To = formEmailTo
MyCDONTSMail.Subject = "ourtext"
MyCDONTSMail.CreateMHTMLBody makeURL
MyCDONTSMail.Send
Set MyCDONTSMail=nothing
End If
%>
and then in the thepage.asp:
<%
formToName = Request.querystring("to_name")
formFromName = Request.querystring("from_name")
%>
and in the body of thepage.asp
<%
formToName=Request.querystring("to_name")
Response.Write(formToName)
%>
I know its not perfect code yet as I'm still testing but this throws up
errors! Why?!
Arrghhh. Its one of those days where a little thing spiralls into a
troublesome thing.