emailing with asp

Results 1 to 3 of 3

Thread: emailing with asp

  1. #1
    Join Date
    Dec 1969
    Posts
    17

    Default emailing with asp

    i am having trouble getting the email working with a basic asp page. i am on a network of NT machines, and the script only works when i am logged in on the administration level.<BR><BR>the setup bits of my asp page look like this:<BR><BR> strTo=""<BR> strsql=""<BR> strconn="Driver={SQL Server};Description=sqldemo;SERVER=155.104.152.13; UID=sa;PWD=;DATABASE=customer;"<BR> set conn=server.createobject("adodb.connection")<BR> conn.open strconn<BR> set rs=server.createobject("adodb.recordset")<BR><BR>< BR> &#039This sets up the mailer<BR> set objCDOMail=server.createobject("CDONTS.NewMail")<B R> objCDOMail.from=strFrom<BR> objCDOMail.to=strTo<BR> objCDOMail.subject=strSubject<BR> objCDOMail.body=strBody<BR> objCDOMail.send<BR><BR><BR>Is there a way to get this to work for people with non-administrator access?<BR><BR>Thanks :-)<BR>-Timm

  2. #2
    Join Date
    Dec 1969
    Posts
    2,849

    Default RE: emailing with asp

    What happens if you try to send the mail with a non-administrator account?

  3. #3
    Join Date
    Dec 1969
    Posts
    17

    Default RE: emailing with asp

    i got a vbscript error of "permission denied"<BR>at the line number of the "objCDOMail.send" command.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •