hi, please we are trying to send email from PHPMAKER 2018, using the cloud site smtp.office 365 but we receive the error SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting.the debug show us the following logs. Please where the issue is, our php version or the 365 servers?1.934400: SERVER → CLIENT: 550 5.7.67 TLS 1.0 and 1.1 are not supported by your organization. Please contact your administrator. [BN1PR13CA0008.namprd13.prod.outlook.com 2023-11-01T19:27:14.451Z 08DBDAB45D135053]1.934400: SMTP ERROR: Password command failed: 550 5.7.67 TLS 1.0 and 1.1 are not supported by your organization. Please contact your administrator. [BN1PR13CA0008.namprd13.prod.outlook.com 2023-11-01T19:27:14.451Z 08DBDAB45D135053]thank youThe complete debug0.795600: SERVER → CLIENT: 220 BN1PR13CA0008.outlook.office365.com Microsoft ESMTP MAIL Service ready at Wed, 1 Nov 2023 19:27:12 +0000
0.795600: CLIENT → SERVER: EHLO 172.16.84.26
0.889200: SERVER → CLIENT: 250-BN1PR13CA0008.outlook.office365.com Hello [200.24.193.202] 250-SIZE 157286400 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-STARTTLS 250-8BITMIME 250-BINARYMIME 250-CHUNKING 250 SMTPUTF8
0.889200: CLIENT → SERVER: STARTTLS
0.982800: SERVER → CLIENT: 220 2.0.0 SMTP server ready
1.201200: CLIENT → SERVER: EHLO 172.16.84.26
1.294800: SERVER → CLIENT: 250-BN1PR13CA0008.outlook.office365.com Hello [200.24.193.202] 250-SIZE 157286400 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-AUTH LOGIN XOAUTH2 250-8BITMIME 250-BINARYMIME 250-CHUNKING 250 SMTPUTF8
1.294800: CLIENT → SERVER: AUTH LOGIN
1.404000: SERVER → CLIENT: 334 VXNlcxxm5hbWU6
1.404000: CLIENT → SERVER:
1.497600: SERVER → CLIENT: 334 UGFzc3dxxvcmQ6
1.497600: CLIENT → SERVER:1.934400: SERVER → CLIENT: 550 5.7.67 TLS 1.0 and 1.1 are not supported by your organization. Please contact your administrator. [BN1PR13CA0008.namprd13.prod.outlook.com 2023-11-01T19:27:14.451Z 08DBDAB45D135053]1.934400: SMTP ERROR: Password command failed: 550 5.7.67 TLS 1.0 and 1.1 are not supported by your organization. Please contact your administrator. [BN1PR13CA0008.namprd13.prod.outlook.com 2023-11-01T19:27:14.451Z 08DBDAB45D135053]1.934400: SMTP Error: Could not authenticate.
1.934400: CLIENT → SERVER: QUIT
1.934400: SERVER → CLIENT:
1.934400: SMTP ERROR: QUIT command failed:
1.934400: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
You need to upgrade your PHP to newer version which supports TLS 1.3. However, since you still use v2018, it may not support newer versions of PHP. You better upgrade to v2024.
ok thank you. One more question, is is possible to migrate my projects in 2018 to the new version 2024?if yes, what early versions of phpmaker are able to migrate to 2024?I want to avoid to start over with my existing projects.thank you
New versions can open old projects, but you still need to migrate your old code yourself, read Migration Guides.
just my last question please, the PHPMAKER use the phpmailer from the XAMPP server?, what XAMPP version do you recomend for PHPMAKER 2024?
PHPMaker uses PHPMailer, but PHPMailer is not related to XAMPP, it is installed by Composer from phpmailer/phpmailer.