In a c-ish language, I was instantiating a MSScriptControl.ScriptControl object and using the .AddCode method to run VBScript, which in turn, instantiated the CDO.Message object.
However, every time I got to the
"objMsg.HTMLBody = \"" + email_body + "\" \n"
(note this was in the c, the VBScript would be:
objMsg.HTMLBody = email_body
line of the code, I got an error
Microsoft VBScript compilation error : Unterminated string constant