We are using Moodle 3.1 and our SMTP provider has deprecated TLSv1.0 so I need to switch on TLSv1.1 or higher. I try to change in below files
lib/phpmailer/class.smtp.php - function startTls() line no 334
lib/horde/framework/Horde/Socket/Client.php - function startTls() line no 123
Please suggest what changes I have to do for Moodle 3.1
Thanks, Matteo for the quick reply.
Please find below the required details
PHP Version - 5.6.36-1
Registered Stream Socket Transports - tcp, udp, unix, udg, ssl, sslv2, tls, tlsv1.0, tlsv1.1, tlsv1.2
SMTP - Spark Post -
I also facing the same issue with my Moodle 31 after deprecated TLSv1.0 by the sparkpost.
I have update the code with TLSv1.1 . After that forget passowrd link not provide same as in the previous.
Current link: http://post.spmailtechnol.com/f/a/QyHgD0qTV03DxJTFBIdiLg~~/AACecQA~/RgRdOvMqP0RNaHR0cDovL2 (not same as i got but i am not find my site url as i previously got here.).
PHP version 5.6
Thanks in advance.
Thanks to all,
The Issue has been resolved, with Spark Post SMTP, we have to pass in the header to ignore click tracking.