I think I gave up after I spent a whole day figuring this out, so Im here for help
Im using ASPEmail to send emails from asp page. The message body content comes from an application variable like this:
The thing is, if I use Request.Form like this:
objMail.Body = GetLang("regWelcome") .. etc
it comes fine, but with pulling a value from application variable it doesnt work. At the same time on a page with UTF-8 encoding(<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />) the
objMail.Body = Request.Form ("regWelcome") .. etc
Any clue what am I doing wrong?
I read on persits website:
Probably thats the problem? But what is a solution?
9. If you are building Mail.Body using string variables that are populated from a source such as a database, ensure that they contain valid data. Ensure that your data is not encoded already, as it will come out garbled if AspEmail re-encodes already-encoded data.
p.s: same thing happens with microsoft's CDO component.