summaryrefslogtreecommitdiff
path: root/docs/examples/smtp-ssl.c
Commit message (Collapse)AuthorAgeFilesLines
* docs: reduce/avoid English contractionsDaniel Stenberg2021-11-021-4/+4
| | | | | | | | | | | You're => You are Hasn't => Has not Doesn't => Does not Don't => Do not You'll => You will etc Closes #7930
* examples: safer and more proper read callback logicDaniel Stenberg2021-07-011-27/+26
| | | | | | | | | | | | | | | | | | | The same callback code is used in: imap-append.c smtp-authzid.c smtp-mail.c smtp-multi.c smtp-ssl.c smtp-tls.c It should not assume that it can copy full lines into the buffer as it will encourage sloppy coding practices. Instead use byte-wise logic and check/acknowledge the buffer size appropriately. Reported-by: Harry Sintonen Fixes #7330 Closes #7331
* docs/examples: adjust prototypes for CURLOPT_READFUNCTIONOlaf Hering2020-12-301-1/+1
| | | | | | | The type of the buffer in curl_read_callback is 'char *', not 'void *'. Signed-off-by: Olaf Hering <olaf@aepfle.de> Closes #6392
* copyright: fix year rangesDaniel Stenberg2020-11-051-1/+1
| | | | Follow-up from 4d2f8006777
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* copyrights: fix copyright year rangeDaniel Stenberg2019-11-081-1/+1
| | | | | | | | .. because checksrc's copyright year check stopped working. Ref: https://github.com/curl/curl/pull/4547 Closes https://github.com/curl/curl/pull/4549
* examples/mime: minor example code fixesViktor Szakats2017-09-051-2/+2
|
* examples: adhere to curl code styleDaniel Stenberg2016-02-111-6/+8
| | | | | | | | | | All plain C examples now (mostly) adhere to the curl code style. While they are only examples, they had diverted so much and contained all sorts of different mixed code styles by now. Having them use a unified style helps users and readability. Also, as they get copy-and-pasted widely by users, making sure they're clean and nice is a good idea. 573 checksrc warnings were addressed.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* examples: Added website parse-able descriptions to the e-mail examplesSteve Holme2015-11-221-1/+7
|
* docs: Spelling fixesVille Skyttä2015-06-081-1/+1
|
* examples: Synchronised comments between SMTP MAIL examplesSteve Holme2014-01-121-5/+10
|
* examples: Added required libcurl version information to SMTP examplesSteve Holme2014-01-051-0/+2
|
* Examples: Renamed SMTP MAIL example to match other email examplesSteve Holme2014-01-051-1/+1
|
* examples: Added SMTP SSL exampleSteve Holme2014-01-051-0/+154