Hacker News new | ask | show | jobs
by blamarvt 1045 days ago
Isn’t SMTP an API? Why would you pay or complicate things when you can just send email with libraries available in every language?
1 comments

But Gmail SMTP doesn't work anymore because they disabled 'less secure apps' or something like that
That's absolutely not true. I receive SMS daily that is sent to my Telnyx number in my Gmail account via Gmail SMTP from a pipedream workflow.

Gmail SMTP for small personal use cases is very convenient for something like this. Matrix a nice option, too.

I went back and actually managed to do this. For future readers: it's true that in 2022 Google disabled login with the normal login/pw but you can create app passwords to do this.

Thanks! This was actually the only working solution from at least 15 different sites.

:) hurray. I'm very happy it was helpful. I remember your exact sense of exasperation when my original SMTP provider started doing the same crap as the rest and I felt similar despair.
Assuming you have shell access, why not use mutt or sendmail?
When I'm reading correctly, that's a Unix program. That's a pretty tight constraint and not one I can satisfy