Options

Error sending e-mail from RTC client

Yves_14Yves_14 Member Posts: 2
edited 2010-05-09 in NAV Three Tier
I made some code to e-mail a document from the RTC client and I receive the following error. I use the "'NS Outlook Synchronization Handler'.OSendMail" automation.

"Cannot mix server-side invoked and client-side invoked automation objects"

does someone have any idea what this mean?

Comments

  • Options
    PhilThomePhilThome Member Posts: 5
    Hi Yves,

    I guess there are several automation objects involved, some of them instanciated on the client, others on the server. Then you try to combine these automations. Which results in the mentioned error.

    Maybe you should paste your NAV code in this post?
  • Options
    clauslclausl Member Posts: 455
    I have made 5 examples how this can be done from RTC. This can be found here: http://blogs.msdn.com/nav/archive/2009/10/08/send-email-with-pdf-attachment-in-nav-2009.aspx. Feel free to use the code found in the file which you can download at the same page.

    Regards,
    Claus
    Claus Lundstrøm | MVP | Senior Product Manager | Continia.com
    I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
    I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
Sign In or Register to comment.