Welcome Guest! Log in
×

Notice

The forum is in read only mode.
Due to some maintenance operations, stambia.org will be switched to read-only mode during the 13th November. It will be possible to read and download, but impossible to post on the forums or create new accounts. For any question please contact the support team.

Topic-icon Question Send Mail and Multiple Files

More
09 Feb 2017 16:30 #1 by GLAG18
GLAG18 created the topic: Send Mail and Multiple Files
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
Vincent replied the 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
GLAG18 replied the 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