by jen729w · 2y ago · 0 comments
for recipient in "${recipients[@]}"; do
aws sesv2 send-email \
--from-email-address "$sender" \
--destination "ToAddresses=$recipient" \
--content "Simple={Subject={Data='$subject',Charset='UTF-8'},Body={Text={Data='$body',Charset='UTF-8'}}}" \
--region "$region"
done
I got that script from their website. Should be easy enough to knock something up in Deno or whatever. 50,000 emails/month free! Amazing.If you want an actual product, check out Buttondown. Indie, great support, and amazing APIs.
Tbh I haven't used it in a few years but it was super useful. I see it's a one-time cost of $69 (used to be $29 but that was over a decade ago).
Disclaimer: I'm in contact with the founder after stumbling on HackerNews and I'm trying to help revive this awesome and economical tool. (I'm not paid.)
https://gist.github.com/johnnydecimal/e7b1a03e26b79239363b5d...
Though I've since updated that to include a .txt file as the body vs. typing it out in the email. But that's easy enough.
I might have added TXT records to satisfy DKIM etc., I don't remember. There are guides on the Amazon site; I'm a bit of a dummy when it comes to this so if I worked it out it must have been obvious enough.
For context, getting out of the sandbox at every org I worked at was essentially a single ticket with the word please and had almost immediate approval.
For my own account for a low volume form notification tool I wrote AWS’s response was ‘We will not approve your request and we will not revisit this decision’.