curl / Mailing Lists / curl-library / Single Mail

curl-library

curl and PGP/GPG

From: Alain Reymond <al1.reymond_at_gmail.com>
Date: Fri, 25 May 2018 14:53:41 +0200

Hello,

is there a way to use cURL to send emails encrypted with GPG ?
I would like to send emails to people having a pgp key. The email is
composed of a text + html body and attached files (pdf or doc).
A C program receives the different elements (from, to, subject, body
text, body html, and list of attachments) and uses curl_formadd to
prepare the mail which is later sent via an html service.

My question is : how can I encrypt the email using pgp ?

Any help would be appreciated.

Kind regards,

Alain

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-05-25