I am working with a customer in NAV 2013.
Using the statement
Result = SMTP.Appendbody(texvalue) , I get an error message saying
A call to Microsoft.Dynamics.Nav. SMTP.Smtp.Message.Appendbody failed with this message "Parameter Count Mismatch".
Any idea what that means ??
Text value has 49 characters and none of them are any special ones.
Any help is appreciated as I am running out of ideas.
0
Answers
Use Where
Var: SMTPEmail
Type: DotNet
Subtype: Microsoft.Dynamics.Nav.SMTP.SmtpMessage.'Microsoft.Dynamics.Nav.SMTP'
Result := MailSMTP.AppendBody(valmessage);
where MAILSMTP is the SMTP .net variable.
ValMessage = 'Thank you for using company XYX'
If I just do MailSMTP.AppendBody(valmessage); that works. Thank you.