cancel
Showing results for 
Search instead for 
Did you mean: 

MS Oulook VBO Multiple Attachments

AndrzejSzady
Level 3
Hey, I'm trying to use 'Send mail' action from the MS Outlook VBO. Everything works fine untill I try to use comma (,) as a separator for list of attachments in a text data item Help file claims they should be separated with coma, but code stage in the action uses: Attachments.Split(";"c) (semicolon doesn't work either) While trying to pass more than 1 attachment I get: "Internal : Could not execute code stage because exception thrown by code stage: File name or directory name is not valid."   Did anyone actually wa able to sent multiple attachments using the new outlook VBO? Thanks in advance.
3 REPLIES 3

david.l.morris
Level 15
Hi Andrzej, Sending multiple attachments works for me, using semicolon as the delimeter. Could you screenshot your inputs? Maybe it's something simple. Dave

Dave Morris, 3Ci at Southern Company

AndrzejSzady
Level 3
Hey, I figured it out. Space after semicolon or comma is a big no no. Multiple attahcments should be inputed as: ""example1@mail1.com,example2@mail2.com""   Anyway,  Thanks for a reply David

I realize this is an old thread, but it really seems like sometimes a semicolon (;) is required as the separator. It's probably based on the Windows locale settings, since a list separator is also configured there. The VBO documentation could use an update in cases like this.

------------------------------
Jukka Salovaara
Solutions consultant
Digital Workforce Services Oy
Europe/Helsinki
------------------------------