Add angle brackets to addresses in easy SMTP examples, as for smtp-multi example.
This commit is contained in:
committed by
Daniel Stenberg
parent
49465fffdb
commit
6076549304
@@ -18,10 +18,10 @@ int main(void)
|
||||
struct curl_slist *recipients = NULL;
|
||||
|
||||
/* value for envelope reverse-path */
|
||||
static const char *from = "bradh@example.com";
|
||||
static const char *from = "<bradh@example.com>";
|
||||
|
||||
/* this becomes the envelope forward-path */
|
||||
static const char *to = "bradh@example.net";
|
||||
static const char *to = "<bradh@example.net>";
|
||||
|
||||
curl = curl_easy_init();
|
||||
if(curl) {
|
||||
|
||||
Reference in New Issue
Block a user