• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Using CDO to send emails

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
 
Modified the scripts smtpserverport to 8025 and allowed 127.0.0.1 to relay through MS Virtual SMTP server. All good now.
 
Back
Top