Good Morning,
I am having an issue by sending emails from 8.3.10.2168 after 07/06/2023. Previously I was using the following code without any issues but after that date i am getting the following error:
"This operation cannot be performed because no SMTP server address has been specified."
MailMessage = New InternetMailMessage;
MailMessage.To.Add(<To Email Address>);
MailMessage.From.Address = <From Email Address>;
MailMessage.Subject = <Subject Name>;
text=<General Text>;
MailMessage.Texts.Add(text);
Profile = New InternetMailProfile;
Profile.SMTPPassword=<SMTP Password>;
Profile.SMTPPort=587;
Profile.SMTPServerAddress="smtp.sendgrid.net";
Profile.SMTPAuthentication= smtpauthenticationmode.Default;
Profile.SMTPUser=<SMTP User>;
Mail = New InternetMail;
Mail.Logon(Profile);
Mail.Send(MailMessage);
Do know how to resolve this error?
The 1C:Enterprise developers forum