使用ocxQmail和asp发送电子邮件。在电子邮件文本中获取=。 html模板“ CT05141908270610.htm”没有=,但是发送电子邮件时,我们在电子邮件中观察=(外观)。
电子邮件文本:
弗吉尼亚州汉普顿-悉尼学院的拉丁文教授从弗吉尼亚汉普顿-悉尼大学的拉丁文教授Lorem123456789查找了一个较为晦涩的拉丁词consectetur,查找了
使用SMTP发送了相同的模板,我们在文本中没有得到
mailServer = "test.source.local"
fromName = "System Administrator"
fromAddress = "test@test.com"
toAddressList = "harry@abc.com"
messageSubject = "Email through Ocx"
cTypeString = "text/html;"
Set t = fs.OpenTextFile("C:\Users\Desktop\CT05141908270610.htm",
ForReading, False, TristateTrue)
strContent = t.ReadAll()
messageText = strContent
mailer.XHeader "Content-Type", cTypeString
Result = mailer.Q(mailServer, _
fromName, _
fromAddress, _
priority, _
returnReceipt, _
toAddressList, _
ccAddressList, _
bccAddressList, _
attachmentList, _
messageSubject, _
messageText _
)
t.Close