Forum Moderators: open
This is what I am using but I can't get it to display in the actual email (other than hotmail). There are no errors, it just doesnt come out in the email when sent
dim lvobjmail
set lvobjmail = server.CreateObject("cdonts.newmail")
lvobjmail.To = "email@address"
lvobjmail.From = "web@test.com"
lvobjmail.Subject = "website"& request.form"OriginCountry")
lvobjmail.BodyFormat= 0
lvobjmail.Body = lvstrInformation
lvobjmail.send()
Set lvobjmail=nothing
I have been told that Chillisoft ASP does not support mailformat = 1
Does any one know any other way of getting this to work?
Sorry if its not clear but I'm new to this!
Cheers
There is a small syntax error in the subject line :
lvobjmail.Subject = "website"& request.form"OriginCountry")
then I suppose that you have somewhere in your code where you specify what lvstrInformation represents in :
lvobjmail.Body = lvstrInformation
otherwise you will not have text in your email body
Hope this helps