I think the error that will occur if you try to attach more than one file using the pipe syntax suggested by uSendSMTPMessage documentation is the following:
I've tested this on 8.0 SP4, and it has been broken like this since SAP IDM 7.2. The workaround that I use to send multiple attachments is to create a single ZIP file including all the attachments needed, and then send this ZIP file as a single attachment. A working script to create a ZIP file from one or more input files in SAP IDM can be found here.
Kind regards,
Lambert
Multiple files worked in 7.1, really? Cannot remember that though.
ZIP files or an own mail implementation are the only working solutions I can think of. What also could work: Embedding the files in the HTML code somehow like this:
<img src="data:image/png;base64, <put base64 code in here>" alt="Test picture" />
Never tried, but could work, too.
The script is cool. If I ever need it, I hope I remember this thread :)
Thanks Lambert,
I can try that out to attachment!!, one more question , is it possible to bring image as inline of body of email, as i could not do it, it comes like an attachment .everytime, thats why i cannot attach files that i want to send .
Thanks!!
Mano..
Add comment