summaryrefslogtreecommitdiff
path: root/docs/examples/imap-append.c
AgeCommit message (Collapse)Author
2024-02-27examples: use present tense in commentsDaniel Stenberg
remove "will" and some other word fixes Closes #13003
2023-07-09docs: use a space after RFC when spelling out RFC numbersDaniel Stenberg
Closes #11382
2023-07-09imap-append.c: update to make it more likely to workMargu
Fixes #10300 Closes #11397
2023-01-03copyright: update all copyright lines and remove year rangesDaniel Stenberg
- they are mostly pointless in all major jurisdictions - many big corporations and projects already don't use them - saves us from pointless churn - git keeps history for us - the year range is kept in COPYING checksrc is updated to allow non-year using copyright statements Closes #10205
2022-11-22examples: update descriptionsDaniel Stenberg
Make them not say "this is an example showing..." and instead just say what the example shows. Closes #9960
2022-06-13copyright: make repository REUSE compliantmax.mehl
Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the file `.reuse/dep5`. This commit also adds a Github workflow to check pull requests and adapts copyright.pl to the changes. Closes #8869
2021-12-19misc: s/e-mail/emailDaniel Stenberg
Consistency is king. Following the lead in everything curl. Closes #8159
2021-12-14docs/examples: workaround broken -Wno-pedantic-ms-formatMarc Hoersken
Avoid CURL_FORMAT_CURL_OFF_T by using unsigned long instead. Improve size_t to long conversion in imap-append.c example. Ref: https://github.com/curl/curl/issues/6079 Ref: https://github.com/curl/curl/pull/6082 Assisted-by: Jay Satiro Reviewed-by: Daniel Stenberg Preparation of #7922
2021-11-07docs: reduce/avoid English contractionsDaniel Stenberg
You're => You are Hasn't => Has not Doesn't => Does not Don't => Do not You'll => You will etc Closes #7930
2021-09-25examples/imap-append: fix end-of-data checkDaniel Stenberg
Reported-by: Alexander Chuykov Fixes #7774 Closes #7775
2021-07-01examples: safer and more proper read callback logicDaniel Stenberg
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
2020-12-30docs/examples: adjust prototypes for CURLOPT_READFUNCTIONOlaf Hering
The type of the buffer in curl_read_callback is 'char *', not 'void *'. Signed-off-by: Olaf Hering <olaf@aepfle.de> Closes #6392
2020-11-05copyright: fix year rangesDaniel Stenberg
Follow-up from 4d2f8006777
2020-11-04curl.se: new homeDaniel Stenberg
Closes #6172
2019-11-02copyrights: update all copyright notices to 2019 on files changed this yearVilhelm Prytz
Closes #4547
2019-05-22examples: reduce variable scopesMarcel Raad
Closes https://github.com/curl/curl/pull/3919
2016-09-18examples/imap-append: Set size of data to be uploadedJay Satiro
Prior to this commit this example failed with error 'Cannot APPEND with unknown input file size'. Bug: https://github.com/curl/curl/issues/1008 Reported-by: lukaszgn@users.noreply.github.com Closes https://github.com/curl/curl/pull/1011
2016-02-11examples: adhere to curl code styleDaniel Stenberg
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.
2016-02-03URLs: change all http:// URLs to https://Daniel Stenberg
2015-11-22examples: Added website parse-able descriptions to the e-mail examplesSteve Holme
2015-07-01examples: provide <DESC> sectionsDaniel Stenberg
2014-03-30imap-append.c: Fixed compilation errors on some platformsSteve Holme
In the initializer for len, there is no prototype for "strlen". In this statement, there is no prototype for "memcpy".
2014-01-04examples: Standardised username and password settings for all email examplesSteve Holme
Replaced the use of CURLOPT_USERPWD for the preferred CURLOPT_USERNAME and CURLOPT_PASSWORD options and used the same username and password for all email examples which is the same as that used in the test suite.
2014-01-01examples: Added IMAP APPEND exampleSteve Holme