As described in this github issue (https://github.com/getgrav/grav-plugin-email/issues/23) , i too have the need for starttls as smtp encryption method (on port 587, as demanded by my hoster). But unfortunately the described fix didn't work out for me.
After updating Gravs Swiftmailer to version 5.4 via Composer and manually setting starttls as encryption method in user/config/plugins/email.yaml i still get the following error when trying to submit a contact form:
Connection could not be established with host peacock.uberspace.de [Unable to find the socket transport "starttls" - did you forget to enable it when you configured PHP? #32659]
I have no more ideas what to do, could anybody point me in the right direction (i'm running php 7.0.5 if that is of any concern)..
greets & thx from berlin
- u