Email attachments

Results 1 to 2 of 2

Thread: Email attachments

  1. #1
    Vance Guest

    Default Email attachments

    Is it possible to include files as attachments when sending email via ASP CDONTS - sendmail etc.<BR><BR>

  2. #2
    jis Guest

    Default RE: Email attachments

    sure use the following code<BR> Set objMail = Server.CreateObject("CDONTS.NewMail")<BR> objMail.From = ""<BR> objMail.Subject = ""<BR> objMail.AttachFile("d:MyFoldermyfile.txt")<BR> objMail.To = ""<BR> objMail.Body = ""<BR> objMail.Send<BR> set objMail = nothing<BR>

Posting Permissions

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