Issue #2983132 by wundo, goron: Error since Mail Provider turned off TLS 1.0 support (port from 7.x-1.x)
Closes #3325387