How to send multiple attachment with mail using 397(Mail) codeunit?

Hi All,

Version: NAV 4.0 SP3.

I want to send a mail with multiple attachment.

I write the code for same
Mail.NewMessage(TO,CC, Subject, Body,attachment1+’;’+attachment2, FALSE); but it’s not working, only mail was going without attachment.

If I use the same code for single attachment it’s working fine.

Can anyone suggest me how to send multiple attachment?

Thanks & Regards


I hope these can help you