The test email and password recovery email can be sent normally, but the registration email cannot be sent. Why?
Nextcloud.log
reqId : "pFCSsj2EAuCxdPhO4a2w"
level : 3
time : "2021-04-26T14:13:02+00:00"
remoteAddr : "x.x.x.x"
user : "--"
app : "PHP"
method : "POST"
url : "/apps/registration/"
message
Exception : "Error"
Message : "fwrite(): SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdown at /apps/nextcloud/3rdparty/swiftmailer/swiftmailer/lib/classes/Swift/Transport/StreamBuffer.php#223"
Code : 0
config.php
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtphost' => 'smtp.xxxx.com',
'mail_smtpport' => '465',
'mail_from_address' => 'xxxxxx',
'mail_domain' => 'xxxxxx.com',
'mail_smtpname' => 'xxxxxxxxxx@xxxx.com',
'mail_smtppassword' => 'xxxxxxxxxxxxxxx',
'mail_smtpsecure' => 'ssl',
"mail_smtpdebug" => true,