I'm trying to build email verification for my website, but I can't get gmail smtp working. Lettre has been evolving quite a lot in a short period of time, so many of the examples are now outdated. Also none of any examples actually use external smtp server like gmail. It's finally compiling, but it's asking for STARTTLS:
I guess it has something to do with this, but I can't get my head around all this and I have no-one to ask:
Also some information here:
It would be super helpful if there would be even one example that actually compiles and works by sending hello world from somewhere else but localhost (and wouldn't be a huge project with 10+ source files).