domodwyer / mailyak

An elegant MIME/SMTP email library with support for attachments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unencrypted connection (no STARTTLS is actually used)

Top-Ranger opened this issue · comments

Hi, I'm currently using mailyak v3.3.0 (see here for an example) and it seems that since 3.3.0 no STARTTLS is actually send, despite what is written in the documentation. As far as I can see it, neither in senderWithStartTLS nor in smtpExchange STARTTLS is actually negotiated. This unfortunately breaks sending mails when only STARTTLS is available (error: unencrypted connection).

Unfortunately I'm not so sure how to fix this correctly.

commented

Hi @Top-Ranger

You're absolutely right, the call to STARTTLS was lost during a refactor which is embarrassing - I shall fix it this evening after work and have a bugfix release out shortly after! I'll reply here when it's done.

THANK YOU for reporting this 👍

Dom

commented

Hi @Top-Ranger

First off: sorry about that! Hopefully it is fixed now - I'd be grateful if you could let me know either way!

Once again thank you for reporting it - it would have gone on much longer otherwise!

Dom

Hi, thanks a lot for the quick fix. Seems to work well for me.

commented

Fantastic! Thanks :)