Join Nostr
2025-02-21 06:21:26 UTC

Pedro Fonseca on Nostr: Wait, what? 😯 #curl can send email? Damn... daniel:// stenberg:// I'm impressed ...

Wait, what? 😯

#curl can send email? Damn... I'm impressed (not that I didn't expected that), curl just keeps on giving. 😁

curl --url "smtp://$SMTP_SERVER:$SMTP_PORT" \
--ssl-reqd \
--mail-from "$SMTP_USER" \
--mail-rcpt "$EMAIL" \
--upload-file "$LOG_FILE" \
--user "$SMTP_USER:$SMTP_PASSWORD" \
--insecure