I can send and receive emails through Rainloop. When I add the same credentials to any php script I get the following error
2022-04-22 01:50:11 CLIENT → SERVER: EHLO Mydomian.com
2022-04-22 01:50:11 CLIENT → SERVER: STARTTLS
SMTP Error: Could not connect to SMTP host.
2022-04-22 01:50:11 CLIENT → SERVER: QUIT
SMTP connect() failed. Troubleshooting · PHPMailer/PHPMailer Wiki · GitHub
How can I resolve this? These scripts used to send emails but of late they can’t. One of the applications is NextCloud the other uses PHPMailer . Any help will be apreciated