got-notify-email: split dial() out of send_email()
commit39910b637a9a53cc48b0c63766da691dec0af593
authorOmar Polo <op@omarpolo.com>
Wed, 20 Mar 2024 12:06:53 +0000 (20 12:06 +0000)
committerOmar Polo <op@omarpolo.com>
Wed, 20 Mar 2024 12:06:53 +0000 (20 12:06 +0000)
tree7740419da8a959513384d168b9656b77ba53e6d6
parent100d3e4bb875b64f537d67257b0876159b59b068
got-notify-email: split dial() out of send_email()

This allows to reduce the set of pledge(2) promises needed at runtime
down to only "stdio" which will also help sandboxing -portable.

ok stsp
gotd/libexec/got-notify-email/got-notify-email.c