Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Emailing some text with a checkbox

Status
Not open for further replies.

Papa Bear

Programmer
Feb 1, 2003
37
GB
Hi All
I have set up a string filled with HTML code including a few checkboxes. The reason I have used a string is that I can response.write it so user can see it, then if required I can send an email using this string in HTMLBODY parameter. (jMail) here is a snippit of code.
Code:
if quoteRS("Weed28") then
    Ebody=Ebody + "<input id='Checkbox33' type='checkbox' checked='checked' />"
else
    Ebody=Ebody + "<input id='Checkbox34' type='checkbox' />"
end if
Code:
myMail.htmlBody = Ebody

'The following code checks that the referrer is correct, and if so, sends the email to the SMTP server:
If NOT blnSpam Then
    myMail.Execute
End If
   
Set myMail  = Nothing
This works fine except checkboxes are emailed at [X] or [] instead of boxes with or without a tick.
Any ideas?
 
Your email is HTML formatted, but the email client obviously is not compatible with the <input type='checkbox'> tag. My Outlook 2007 is not. It shows [X] or [ ]....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top