Emailing (CDONTS)

Results 1 to 2 of 2

Thread: Emailing (CDONTS)

  1. #1
    TN Guest

    Default Emailing (CDONTS)

    Iam using the following code for emailing (sending an attachment).<BR>It gives me the following error at attachfile statement..Can anyone help me?????<BR><BR>error &#039 80004005&#039 <BR>Unspecified error <BR><BR>set mycdontsmail=CreateObject("CDONTS.NewMail")<BR> mycdontsmail.from=""<BR> mycdontsmail.To="<BR> mycdontsmail.subject="This is a test message"<BR> mycdontsmail.body="This is a test message.Thank u"<BR> mycdontsmail.attachfile "\voyager
    ep ables.xls"<BR> mycdontsmail.send<BR> set mycdontsmail=nothing

  2. #2
    Join Date
    Dec 1969

    Default RE: Emailing (CDONTS)

    I have found this to be a permission problem, either with the share or the file ACLs. Anonymous access to another server is tricky. If this server is in the same domain as the Web server, try authenticated (Basic or NT/CR)access to the ASP script using an account that has access to both the share and the file.

Posting Permissions

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