Hello expets,
when i try to send mail using C/al i got the following Error :

This is my configuration :

This is the simple Code
SMTPMailSetup.GET;
MESSAGE(SMTPMailSetup."User ID");
SMTPMail.CreateMessage('test object',SMTPMailSetup."User ID",'metest@gmail.com','test','some text body',FALSE);
SMTPMail.Send;
MESSAGE('Mail Sent');
NB:
SMTPMailSetup ==> record :SMTP Mail Setup
SMTPMail ==> codeunit 400 :SMTP Mail
*This post is locked for comments
I have the same question (0)