Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: sending multiple files via sendMail

$
0
0

I would agree with @Malcolm

if you see at the following standard code in AX

SysEmailBatch(class) >> sendToBatch (method)

//around line number24, 25, 26, 27

if (attachmentFileNameList)

   {

       enumerator = attachmentFileNameList.getEnumerator();

       while (enumerator.moveNext())

it is taking values from list. so you can pass multiple values, by loop and those multiple values(FileName+Path) will be set to attachmentFileNameList.

that's all, and remaining it would manage itself


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>