• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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 = "to@mail.com"
Mailer.From = "from@mail.com"
Mailer.Subject = "message title"
Mailer.Body = "message body"
Mailer.Send
Set Mailer = nothing

response.write(err.description)
%>

Thank you
 
Back
Top