Attachments with CDO

Results 1 to 4 of 4

Thread: Attachments with CDO

  1. #1
    Alesk Guest

    Default Attachments with CDO

    Is it possible to attach more than one file to an e-mail with CDO??<BR><BR>Alesk

  2. #2
    Join Date
    Dec 1969

    Default RE: Attachments with CDO

    yes, you can attach single or collection of attachment objects to email message. I think following statement should work. I am trying this my self but there is problem with our SMTP service. <BR>myCDO.AttachFile "file A", "file B"

  3. #3
    Alesk Guest

    Default RE: Attachments with CDO

    ok, <BR> but you have to specify the source, and if you put a coma between each FILENAME, it will take the second file as the &#039Filename&#039...<BR><BR>Did it work when you tried it?<BR> Alesk

  4. #4
    Alesk Guest

    Default RE: Attachments with CDO

    I finally figure it out.<BR><BR>you only have to do this, to send multiple attachments:<BR><BR>myCDO.AttachFile "file A"<BR>myCDO.AttachFile "file B"<BR><BR>It&#039s that simple. ;)<BR><BR>Alesk

Posting Permissions

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