This message is for C/AL programmers

kpytokpyto Member Posts: 9
Dear All,

At SMTP Mail test time in Navision, i am receiving this error. Please give me your valuable suggestions to this reply.
I am waiting for your replies.

This message is for C/AL programmers: Could not invoke the member send.The OLE Control or
Automation server returned an unknown error code.

This is the error message. Please tell me the Solutions

Thanks & Regards
P.S. This message copied from here http://community.dynamics.com/nav/f/34/t/44955.aspx

In my case testers can't repeat error. Error message sometimes raise at client. Please give any idea, where to looking the problem.

Comments

  • Wisa123Wisa123 Member Posts: 308
    Does eventviewer tell you more?

    In the SmptMail.createMessage before, do you pass variables that might result in an empty String (sender, recipient) ?
    I remember having problems sometime ago, when you pass empty strings (obviously).
    Austrian NAV/BC Dev
Sign In or Register to comment.