J
jacko@
Guest
Hi,
I'm trying to do a very simple script to send emails using CDO on a Windows 2003 Web Edition server running Plesk 7.5.
The script is simple:
"
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="emailfrom"
myMail.To="emailto"
myMail.TextBody="This is a message."
myMail.Send()
set myMail=nothing
response.redirect "contact.asp"
response.end
%>
"
But I keep getting an application error and the following message in the logs:
06-08-09 13:33:10 W3SVC23235 HOSTNAME 10.10.149.150 GET /a.asp |7|80040220|The__SendUsing__configuration_value_is_invalid.__ 80 - 10.10.195.183 HTTP/1.1 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.8.0.6)+Gecko/20060728+Firefox/1.5.0.6 - - www.domain.com 500 0 0 1628 420 515
Any ideas what the problem might be?
I was wondering if it was something to do with MailEnable/MS Virtual SMTP server or possibly the webserver settings it self?
Thanks,
Jacko
I'm trying to do a very simple script to send emails using CDO on a Windows 2003 Web Edition server running Plesk 7.5.
The script is simple:
"
<%
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="emailfrom"
myMail.To="emailto"
myMail.TextBody="This is a message."
myMail.Send()
set myMail=nothing
response.redirect "contact.asp"
response.end
%>
"
But I keep getting an application error and the following message in the logs:
06-08-09 13:33:10 W3SVC23235 HOSTNAME 10.10.149.150 GET /a.asp |7|80040220|The__SendUsing__configuration_value_is_invalid.__ 80 - 10.10.195.183 HTTP/1.1 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv:1.8.0.6)+Gecko/20060728+Firefox/1.5.0.6 - - www.domain.com 500 0 0 1628 420 515
Any ideas what the problem might be?
I was wondering if it was something to do with MailEnable/MS Virtual SMTP server or possibly the webserver settings it self?
Thanks,
Jacko