login about faq

When using ActiveX component, if the body text (emailBody=) starts with <!doctype html> or with <html klzzwxh:0000="" 1999="" xhtml'=""> then the entire body is sent as text instead of as HTML. How can I include these parts in an HTML email?

asked Sep 08 '15 at 05:48

jsuares's gravatar image

jsuares
1


You would need to show a clear and simple example that demonstrates how to reproduce the problem. There are many ways to do what you described -- perhaps some ways work and others encounter this problem.

link

answered Sep 08 '15 at 08:54

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

I am using a page like the sample here: http://www.example-code.com/asp/smtp_simpleSend.asp using Amazon AWS as the smtp, and sending to a Gmail email address

If I do email.Body = "This is a test" works fine - I get an email saying "This is a test".

If I do email.Body = "<html>This is a test</html>" also works fine - I get an email saying "This is a test".

If I do email.Body = "<!doctype html><html>This is a test<html>" or "<html klzzwxh:0003="" 1999="" xhtml'="">This is a test </html>" then Gmail changes the doctype (which is fine) but I get back the entire HTML and not just "This is a test"

link

answered Sep 08 '15 at 11:26

jsuares's gravatar image

jsuares
1

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×184

Asked: Sep 08 '15 at 05:48

Seen: 482 times

Last updated: Sep 08 '15 at 11:26

powered by OSQA