• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Email with ASP using cdont : Permission denied

  • Thread starter Carrouget Sebastien
  • Start date
C

Carrouget Sebastien

Guest
Hello,

I try to send email in asp with cdont from a windows server 2003 and Plesk 9.2 server. IIS 6.0

I used the parallels tuto here http://kb.odin.com/fr/560

But when I try to send email : Permission denied

My code is :

<%
on error resume next

Dim Mailer
Set Mailer = Server.CreateObject("CDONTS.NewMail")
Mailer.To = "[email protected]"
Mailer.From = "[email protected]"
Mailer.Subject = "Titre du message"
Mailer.Body = "Le texte qui sera envoyé"
Mailer.Send
Set Mailer = nothing

response.write(err.description)
%>

Test url : http://winhebergement.com/mail.asp

Thanks
 
Carrouget Sebastienб

I am not familiar with French but I could understand that the problem is solved when I have checked mentioned test URL?
 
Hi,

Yes I found an issue. I just add on C:\inetpub\mailroot\Pickup permissions off the user of the domaine using for host on the server.

Strange but it work.

Thanks
 
i have this problem. how can i solved?
i add iwam_plesk and iusr_domain rights. but dosent work.
 
Back
Top