From 98b7fc019575615bfce5026feec6308a19b78a29 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 5 Jan 2014 10:32:47 +0000 Subject: examples: Added SMTP SSL example --- docs/examples/smtp-send.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'docs/examples/smtp-send.c') diff --git a/docs/examples/smtp-send.c b/docs/examples/smtp-send.c index f343238d4..a76af2289 100644 --- a/docs/examples/smtp-send.c +++ b/docs/examples/smtp-send.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2013, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2014, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -42,9 +42,8 @@ int main(void) curl = curl_easy_init(); if(curl) { - /* this is the URL for your mailserver - you can also use an smtps:// URL - * here */ - curl_easy_setopt(curl, CURLOPT_URL, "smtp://mail.example.net."); + /* This is the URL for your mailserver */ + curl_easy_setopt(curl, CURLOPT_URL, "smtp://mail.example.com"); /* Note that this option isn't strictly required, omitting it will result in * libcurl will sent the MAIL FROM command with no sender data. All -- cgit v1.2.3