SMTP does not work on the wordpress site. What should be done to solve this problem?

#1
I installed OLS on Ubuntu 20.10 and installed a wordpress site on it.
Installed the WP Mail SMTP plugin.
Registered corporate mail (with its own domain).
I entered my email username and password correctly. I've checked it many times.
Which is better ssl over 465 or tls over 587.
Do you need to open these ports in the OLS admin panel? How can this be done?

I send a test email and always get one error:
Headers
Date: Sat, 2 Jan 2021 11:03:31 +0000
To: santago@inbox.ru
From: "mysite.com" <info@mysite.com>
Subject: =?UTF-8?B?V1AgTWFpbCBTTVRQOiBIVE1MINCf0YDQvtCy0LXRgNC60LAg0L/QvtGH0YI=?=
=?UTF-8?B?0Ysg0L3QsCB3ZXJ0aWdvODBAaW5ib3gucnU=?=
Message-ID: <x6WvxxBK15iHKWzlxkG8r9FGP0oyf6GFXudvCGRAU@mysite.com>
X-Mailer: WPMailSMTP/Mailer/smtp 2.5.3
X-Mailer-Type: WPMailSMTP/Admin/Test
MIME-Version: 1.0
Content-Type: text/html; charset=UTF-8
Error
SMTP Error: Could not authenticate.
 
Last edited:
Top