Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…

Topic-icon Question Send Mail and Multiple Files

More
09 Feb 2017 16:30 #1 by GLAG18
Send Mail and Multiple Files was created by GLAG18
Hello,
I'm trying to send an Email with multiple attached files but it doesn't work and I don't understand.

When I try only one file with link "\\Server\path\file.csv", it works.
But When I try "\\Server\path\file.csv";"\\Server\path\file.xlsx", it doesn't work.
The error is "\Server\path\file.csv" couldn't be find, there is only one "\" before the server name.

If I look documentation, it's writen I must use semicolon.

What's the good solution?

Thanks.

Guillaume.
More
09 Feb 2017 17:33 - 09 Feb 2017 17:34 #2 by Vincent
Replied by Vincent on topic Send Mail and Multiple Files
Good afternoon,

Make sure the files exist and that you are using the right paths in the MAIL_ATTACH parameter.
You should not use quotes " in this parameter.
Its value should be : \\Server\path\file.csv;\\Server\path\file.xlsx
Try this is tell us if that works.

More info about sending Mails with Stambia

Best regards,

Vincent
Last edit: 09 Feb 2017 17:34 by Vincent.
More
09 Feb 2017 17:47 #3 by GLAG18
Replied by GLAG18 on topic Send Mail and Multiple Files
I tried \\Server\path\file.csv; \\Server\path\file.xlsx with a space,
but with your solution it works,

Thanks a lot