---
title: "Cdonts"
type: "forum-thread"
url: "https://www.webforum.nu/amne/asp/12374-cdonts"
topic: "ASP"
topic_url: "https://www.webforum.nu/amne/asp"
author: "aleborg"
published: "2001-10-31T09:16:00.000Z"
updated: "2001-10-31T09:16:00.000Z"
replies: 0
views: 158
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/asp/12374-cdonts"
---

# Cdonts

## #1 — aleborg, 2001-10-31T09:16Z

Får permission denied på den här koden:

```
set objMail = CreateObject("CDONTS.Newmail")
objMail.From = prop("Email")
objMail.To = prop("Email")
objMail.Subject = "Someone has signed your guestbook"
objMail.Body = "Hi!"& vbcrlf & vbcrlf &"Someone has signed your guestbook."& vbcrlf &"The message in the guestbook's from "& Replace(Request.Form("Name"), "'", "''")
objMail.Send
set objMail = Nothing
```

Raden är:
objMail.Send

Permalänk: https://www.webforum.nu/p/12374

---

Tråden på webben: https://www.webforum.nu/amne/asp/12374-cdonts
