Test Message Sent

The result was:

bool(false)

The SMTP debugging output is shown below:

2021-09-20 02:43:21 Connection: opening to smtp.gmail.com:465, timeout=300, options=array()
2021-09-20 02:43:21 Connection: opened
2021-09-20 02:43:31 SMTP INBOUND: ""
2021-09-20 02:43:31 SERVER -> CLIENT:
2021-09-20 02:43:31 Connection: closing due to error
2021-09-20 02:43:31 Connection: closed
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

Test Message Sent

The result was:

bool(false)

The SMTP debugging output is shown below:

2021-09-20 02:43:31 Connection: opening to smtp.gmail.com:465, timeout=300, options=array()
2021-09-20 02:43:31 Connection: opened
2021-09-20 02:43:41 SMTP INBOUND: ""
2021-09-20 02:43:41 SERVER -> CLIENT:
2021-09-20 02:43:41 Connection: closing due to error
2021-09-20 02:43:41 Connection: closed
SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting