curl can be used to send emails with SMTP
mastodon.social
curl can be used to send emails with SMTP
1–6 of 6 posts
Re: curl can be used to send emails with SMTP
#2When on a random CLI though my personal preference though is still to use telnet as the commands are easily memorized and there’s something more natural about typing the email out and then sending it.
Re: curl can be used to send emails with SMTP
#3 local email_body=$(cat Re: curl can be used to send emails with SMTP
#4Interesting and good to be aware of When on a random CLI though my personal preference though is still to use telnet as the commands are easily memorized and there’s something more natural about typing the email out and then sending it.
I came across curl when I tested the mailgun.com smtp relay (mandatory tls + auth) and it worked immediately.
Re: curl can be used to send emails with SMTP
#5Interesting and good to be aware of When on a random CLI though my personal preference though is still to use telnet as the commands are easily memorized and there’s something more natural about typing the email out and then sending it.
me too, but more and more relays enforce tls or startssl (which is good!) and that's where telnet isn't a good fit imho. I came across curl when I tested the mailgun.com smtp relay (mandatory tls + auth) and it worked immediately.
openssl s_client -connect my.mailserver.com:465Re: curl can be used to send emails with SMTP
#6(Checks docs)
Oh.