curl-library
Re: Sending email to gmail account
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 12 Dec 2017 15:35:16 +0100 (CET)
Date: Tue, 12 Dec 2017 15:35:16 +0100 (CET)
On Tue, 12 Dec 2017, Sean MacLennan wrote:
> The names might be better ;) But it makes it clear that the options are
> stricter than the mail heading.
Thanks! I went with this approach:
#define FROM_ADDR "<sender_at_example.org>"
#define TO_ADDR "<addressee_at_example.net>"
#define CC_ADDR "<info_at_example.org>"
#define FROM_MAIL "Sender Person " FROM_ADDR
#define TO_MAIL "A Receiver " TO_ADDR
#define CC_MAIL "John CC Smith " CC_ADDR
The updated example can now be seen at:
https://curl.haxx.se/libcurl/c/smtp-mail.html
-- / daniel.haxx.se ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2017-12-12