I have code that calls the Mail codeunit (397), which creates and opens an email in Outlook. This works in NAV 2009 Classic Client, but not in NAV 2009 Role Tailored Client. When the code gets run in the RTC, I get the message "The server has requested to run BSTRConverter Class on your client, Allow this time, but ask again, Always allow, or Never allow". I select 'Always allow' but then nothing happens.
All three tiers are setup on one machine. Any ideas why codeunit 397 is not working in the RTC?
I know that the SMTP Mail codeunit (400) works with the RTC, but it is my understanding that the codeunit automatically sends the message without opening up the email.
Is there some other way to populate and open an email message in Outlook in NAV 2009 Role Tailored Client?
Thanks!
0
Answers
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I wonder if it could be some sort of security setting.
Also try to delete all your settings. In Sp1 in upper right window is the customize button click on it and select delete personalization settings.
Then try it again.
My code looks like this
Mail.OpenNewMessage('ada_AT_tt.com');
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n