aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/simplesmtp.c
diff options
context:
space:
mode:
authorBrad Hards <bradh@frogmouth.net>2010-12-25 11:54:41 +1100
committerDaniel Stenberg <daniel@haxx.se>2010-12-25 23:06:29 +0100
commit60765493047cba21e76888e36efaf0cba43ccf6d (patch)
tree02d5e360ea70c1b0d1b8a20e70d86a739d706552 /docs/examples/simplesmtp.c
parent49465fffdb37b91ee5a0ad2601ea9657e5cd8915 (diff)
Add angle brackets to addresses in easy SMTP examples, as for smtp-multi example.
Diffstat (limited to 'docs/examples/simplesmtp.c')
-rw-r--r--docs/examples/simplesmtp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/examples/simplesmtp.c b/docs/examples/simplesmtp.c
index 4144ed647..0c1f7ff87 100644
--- a/docs/examples/simplesmtp.c
+++ b/docs/examples/simplesmtp.c
@@ -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) {