Hello,
I use Dynamics NAV V.5.01 and I shall want to send a message with CRM module.
Everything takes place well but I do not succeed in sending a message with several addressees and in cc(Copy) in the head of the message.
Is it possible ?
Thanks for response
Rudy
0
Comments
Tell us the steps you are now doing.
Step one:
I create a segment with a SegmentLine linked to a Contact, with an Interaction modèle and a document attachement:
DYNAMIS NAV create a merge File and send it to Outlook with the Contact Email in Destination adress To:
But I want have many destinations adressees in TO: and Oone in cc:
I have write following CAl/Code in the cu 5052 "Attachement management", but Outlook return an error message (see attached file)
InteractionEMail(VAR InteractLogEntry : Record "Interaction Log Entry") : Text[200]
IF InteractLogEntry."Contact Alt. Address Code" = '' THEN BEGIN
Cont.GET(InteractLogEntry."Contact No.");
EXIT(Cont."E-Mail"+';'+Cont."Email Substitu 1"+';'+Cont."E-mail assistante");
//EXIT(Cont."E-Mail");
END ELSE BEGIN
ContAltAddr.GET(InteractLogEntry."Contact No.",InteractLogEntry."Contact Alt. Address Code");
IF ContAltAddr."E-Mail" <> '' THEN
EXIT(ContAltAddr."E-Mail")
ELSE BEGIN
Cont.GET(InteractLogEntry."Contact No.");
EXIT(Cont."E-Mail");
END;
END;
Thanks for help!
Rudy