Respected Forum Members,
Below are just my 2 cents....
We all are aware that SNDDST will not support sending multiple attachments via mail, to achieve this we have to use the QTMMSENDMAIL API.
As we all know its take some time to get acquainted with this API.
While doing a build for a requirement I got stuck up due to the API as I was having no idea about that and it might take some time to get familiar to this. So, to achieve my purpose I did a small thing, I put the files which needs to be emailed in a ZIP file and used SNDDST to send the same to Users.
For ZIPing you can use the below QSHELL command:
For single file:
jar -cfM /QDLS/TEST.ZIP /CHKINDOC/DOC.PDF
For multiple files:
jar -cfM /QDLS/TEST.ZIP /CHKINDOC/DOC.PDF /CHKINDOC/DOC1.PDF
Once the ZIP is ready you can use SNDDST to send it.
I donot know whether this is the most feasible solution but my Clients accepted that. Thought of sharing this with you guys. It might help.
Waiting for all you experts for your feedback!!!!
NB: I am on V6R1.
Thanks and Regards,
Rudra
Below are just my 2 cents....
We all are aware that SNDDST will not support sending multiple attachments via mail, to achieve this we have to use the QTMMSENDMAIL API.
As we all know its take some time to get acquainted with this API.
While doing a build for a requirement I got stuck up due to the API as I was having no idea about that and it might take some time to get familiar to this. So, to achieve my purpose I did a small thing, I put the files which needs to be emailed in a ZIP file and used SNDDST to send the same to Users.
For ZIPing you can use the below QSHELL command:
For single file:
jar -cfM /QDLS/TEST.ZIP /CHKINDOC/DOC.PDF
For multiple files:
jar -cfM /QDLS/TEST.ZIP /CHKINDOC/DOC.PDF /CHKINDOC/DOC1.PDF
Once the ZIP is ready you can use SNDDST to send it.
I donot know whether this is the most feasible solution but my Clients accepted that. Thought of sharing this with you guys. It might help.
Waiting for all you experts for your feedback!!!!
NB: I am on V6R1.
Thanks and Regards,
Rudra
Comment