Send multiple attachment using a list box - WeOnlyDo Discussion board

Send multiple attachment using a list box (General questions)

by Nightwalker, Wednesday, August 04, 2010, 15:11 (5223 days ago)

Hi,

I have been using a list box to hold the filenames of the files I am sending via email. I was able to loop through the box and send each file using the visual basic mapi components. However, since, I have been using WOD I have read that I can only use:

wodSmtp1.Message.Attach c:file1.exe
wodSmtp1.Message.Attach c:file2.exe

Could I use the listbox method with the above code? If so how?

Thanks,


Nightwalker


Complete thread: