• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

ASP mail > cdont > Permission denied

  • Thread starter Carrouget Sebastien
  • Start date
C

Carrouget Sebastien

Guest
Hi,

I try to find how to send emails in ASP with CDONTS but that does not work. Permission denied. I do not understand yet I followed the tutorial Parallels http://kb.odin.com/fr/560

An idea?
Another solution for sending email in asp?

System: Windows Server 2003 - IIS 6.0 - Plesk 9.2

ASP example :

<%
on error resume next

Dim Mailer
Set Mailer = Server.CreateObject("CDONTS.NewMail")
Mailer.To = "[email protected]"
Mailer.From = "[email protected]"
Mailer.Subject = "message title"
Mailer.Body = "message body"
Mailer.Send
Set Mailer = nothing

response.write(err.description)
%>

Thank you
 
Back
Top