Multiple attachements in mail in Navision 3.70

Djb-BkDjb-Bk Member Posts: 9
Hello,

Can you say me if it is possible to add 2 attachments in an email in Navision 3.70.

In our system, we send invoice by mail when mail available, and we want to add a second file ( general condtions in PDF ).

For the moment, we use MapiHandler to do it, but it seems to permit only one attachement.

I saw on the net it is possible with the BSTRConverter, but I don't understand how to access to OAttachments, OSendMail ...
Is this composant functional on Nav 3.70

If anyone can help me.

Thanks in advance.

B.

Comments

  • Luc_VanDyckLuc_VanDyck Member, Moderator, Administrator Posts: 3,633
    No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)
  • Djb-BkDjb-Bk Member Posts: 9
    Thanks for your quick answer, but I don't find.

    First, it's not possible to make an array in the variable in Nav 3.70, right ?

    BSTRConverterAttachFileName -> Automation, I found it
    OAttachments, OSendMail, OAttachment -> have I to define it ?

    Thanks for your help.

    B.
  • kinekine Member Posts: 12,562
    Djb-Bk wrote:
    First, it's not possible to make an array in the variable in Nav 3.70, right ?

    Why do you think? :wink:
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.