send an email

Results 1 to 2 of 2

Thread: send an email

  1. #1
    Annabeuleuh Guest

    Default send an email

    Hi,<BR>I would like to send an email with an attach file.<BR>I can send an "html" email easily, with this code :<BR><BR>Set myMail = server.CreateObject("CDONTS.NewMail")<BR>myMail.Bo dyFormat = 0<BR>myMail.MailFormat = 0 <BR>myMail.Send mail_From,mail_to,object,strMessage,importance<BR> <BR>and it works. <BR>To join a file with the message, I tried to do :<BR><BR>myMail.AttachFile = "folder/" <BR><BR>just before sending the mail, but an error occurs at this line (mail.attachFile) :<BR><BR>error &#039;80004005&#039; <BR>Unspecified error <BR><BR>Could someone help me please ?<BR><BR>Thank you very much<BR>Annabeuleuh<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: send an email

    try putting it somewhere else<BR>it might be an access permisions error

Posting Permissions

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