Unanswered: ASP mail and CDONTS - check my code please ?
i am actually sending data to this ASP page from a flash file - i know the data is getting to the page and i have a flag variable sent back to my flash file telling me the script has run - but the script does NOT appear to be sending the email.
i am sending variables representing the name, email address, subject and message of the user.
I know it works on my servers at work, but the NOT on the hosting company's servers - i have asked them and they say that CDONTS should work no problem
can someone check this code for me
many thanks in advance
language = "vbscript"
response.buffer = true
I notice that you are setting the "From:" to the value of a variable. If could be that your host does not allow e-mails to be sent out from addresses that it doesn't know about (i.e. domains that it doesn't host).
Try hard coding the "From:" field to an e-mail address on your domain and see if the e-mail get's sent.