Email Send Failed SMTP connect() failed
Original Question or Issue:
Getting Email Send Failed SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting on "Test Email".
Environment:
- Product - FileCloud Server
- Version - Any
- Platform - Any
Steps to Reproduce:
Error or Log Message:
Email Send Failed SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting4:Auth method requested: Basic
4:Auth methods available on the server: LOGIN,XOAUTH2
4:Requested auth method not available: Basic
4:Auth method selected: LOGIN
1:CLIENT -> SERVER: AUTH LOGIN
Defect or Enhancement Number:
Cause:
Resolution or Workaround:
It appears that Basic Authentication has been requested, but it is unavailable.
You will need to either switch to XOAUTH2 or enable Basic Authentication for your email address on your SMTP server.
Please check with the SMTP provider if you want to use "Basic" authentication for the email account.
Also, please find the documentation for the XOAUTH configuration below.
Notes:
https://www.filecloud.com/supportdocs/fcdoc/latest/server/filecloud-administrator-guide/filecloud-site-setup/email-settings