Hi all, I have a problem using the Navision interaction function: Is there a way to have navision send an email message to a contact and, at the same time, send the same message to one ore more contacts as CC or BCC? Please haelp me this would be very useful for me! Do you know also how to create a form to sending email messages without using the interaction wizard? Thanks a lot in advance! … Bye Bye GPM
Gilles, What version of Navision are you using?
quote:
Originally posted by CMDunbar
Gilles, What version of Navision are you using?
Hi CMDunbar, I’m using Navision 3.70… … Let me know if there’s a solution… thank you Bye GpM
Have you looked at codeunit 397 - Mail?!? In particular the NewMessage () function, the following code; MAPIHandler.ToName := ToName; MAPIHandler.CCName := CCName; MAPIHandler.Subject := Subject;
quote:
Originally posted by CMDunbar
Have you looked at codeunit 397 - Mail?!? In particular the NewMessage () function, the following code; MAPIHandler.ToName := ToName; MAPIHandler.CCName := CCName; MAPIHandler.Subject := Subject;
Hi CMDunbar, Thank you for your suggestion… I’ll give it a look… I’m a Navision Newbie and I’m not so used in coding with Navision… Could you give me any idea about this codeunit? Tou wrote: MAPIHandler.CCName := CCName; But where I can specify this CCName? I need to create a new form to replace the Interaction wizard? Thanks a lot in advance… Bye Bye GpM
quote:
Could you give me any idea about this codeunit?
In Navision, open the Object Designer (Tools pull down menu or Shift+F12), select the Codeunit button on the left hand side, and then find number 397 - Mail.
quote:
MAPIHandler.CCName := CCName;
This is a property of the MAPIHandler automation controller being assigned to a variable with the same name (not the best bit of coding) Hope this helps
there is only one problem: filling the cc name shouldn’t be such a problem, more of a problem would be to also log an interaction for the cc’ed relation…