Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Email through Office 365

Forum

Search UsersRules
Email through Office 365
#1
Just came
Points:: 0
Joined:: Jul 18, 2024

Good morning,

I have a customer that uses 1C and they recently upgraded to 8.3.18.1334.

They used to be able to send emails using their ISP server but the new version of 1C would not work with that and they tried to use the Office 365 and it fails with a TLS error.

We tried to use the below test code but it still fails. The server that the SQL database is stored is 2012 R2 and TLS1.2 is registry enabled. Any ideas? Since the update they cannot send emails and the invoices are backed up.

Quote
MailMessage = New InternetMailMessage;
MailMessage.To.Add("recepient@domain.com");
MailMessage.From.Address = "sender@domain.com";
MailMessage.Subject = "test";
text="Gia na doumai an doulevi";
MailMessage.Texts.Add(text);  


Profile = New InternetMailProfile;
Profile.SMTPPassword="outlook application password";
Profile.SMTPPort=587;
Profile.SMTPSecureAuthenticationOnly=true;
Profile.SMTPServerAddress="smtp.office365.com";
Profile.SMTPUser="sender@domain.com";
//Profile.SMTPUseSSL=true;
Profile.SMTPAuthentication = SMTPAuthenticationMode.Default;
Mail = New InternetMail;
Mail.Logon(Profile);
Mail.Send(MailMessage);

Profile
#2
Administrator
Points:: 0
Joined:: Oct 3, 2019

Hey Christos,

what problems did you have when sending an email from 1C after updating the platform version?

I would still try to deal with this problem, but not send an email through Office...

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.