History log of /curl/docs/examples/imap-append.c (Results 1 – 24 of 24)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f540e43b 27-Feb-2024 Daniel Stenberg

examples: use present tense in comments

remove "will" and some other word fixes

Closes #13003


# 22c92a6d 25-Jun-2023 Daniel Stenberg

docs: use a space after RFC when spelling out RFC numbers

Closes #11382


# 9bf89bdc 30-Jun-2023 Margu <44941663+Margu86@users.noreply.github.com>

imap-append.c: update to make it more likely to work

Fixes #10300
Closes #11397


# 2bc1d775 02-Jan-2023 Daniel Stenberg

copyright: update all copyright lines and remove year ranges

- they are mostly pointless in all major jurisdictions
- many big corporations and projects already don't use them
- save

copyright: update all copyright lines and remove year ranges

- 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

show more ...


# c1cdc08c 22-Nov-2022 Daniel Stenberg

examples: update descriptions

Make them not say "this is an example showing..." and instead just say
what the example shows.

Closes #9960


# ad9bc597 17-May-2022 max.mehl

copyright: make repository REUSE compliant

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

copyright: make repository REUSE compliant

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

show more ...


# 7a92f865 17-Dec-2021 Daniel Stenberg

misc: s/e-mail/email

Consistency is king. Following the lead in everything curl.

Closes #8159


# 77311f42 14-Dec-2021 Marc Hoersken

docs/examples: workaround broken -Wno-pedantic-ms-format

Avoid CURL_FORMAT_CURL_OFF_T by using unsigned long instead.
Improve size_t to long conversion in imap-append.c example.

docs/examples: workaround broken -Wno-pedantic-ms-format

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

show more ...


# a28464ae 31-Oct-2021 Daniel Stenberg

docs: reduce/avoid English contractions

You're => You are
Hasn't => Has not
Doesn't => Does not
Don't => Do not
You'll => You will
etc

Closes #7930


# 5c4e46c7 24-Sep-2021 Daniel Stenberg

examples/imap-append: fix end-of-data check

Reported-by: Alexander Chuykov
Fixes #7774
Closes #7775


# a37fc62e 01-Jul-2021 Daniel Stenberg

examples: safer and more proper read callback logic

The same callback code is used in:

imap-append.c
smtp-authzid.c
smtp-mail.c
smtp-multi.c
smtp-ssl.c
smt

examples: safer and more proper read callback logic

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

show more ...


Revision tags: curl-7_76_1, curl-7_76_0, curl-7_75_0
# f2ed79d8 30-Dec-2020 Olaf Hering

docs/examples: adjust prototypes for CURLOPT_READFUNCTION

The type of the buffer in curl_read_callback is 'char *', not 'void *'.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Clo

docs/examples: adjust prototypes for CURLOPT_READFUNCTION

The type of the buffer in curl_read_callback is 'char *', not 'void *'.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Closes #6392

show more ...


Revision tags: curl-7_74_0
# ac0a88fd 05-Nov-2020 Daniel Stenberg

copyright: fix year ranges

Follow-up from 4d2f8006777


# 4d2f8006 04-Nov-2020 Daniel Stenberg

curl.se: new home

Closes #6172


Revision tags: curl-7_73_0, tiny-curl-7_72_0, curl-7_72_0, curl-7_71_1, curl-7_71_0, curl-7_70_0, curl-7_69_1, curl-7_69_0, curl-7_68_0, curl-7_67_0
# d0319adb 31-Oct-2019 Vilhelm Prytz

copyrights: update all copyright notices to 2019 on files changed this year

Closes #4547


Revision tags: curl-7_66_0, curl-7_65_3, curl-7_65_2, curl-7_65_1, curl-7_65_0
# 10b7067e 21-May-2019 Marcel Raad

examples: reduce variable scopes

Closes https://github.com/curl/curl/pull/3919


Revision tags: curl-7_64_1, curl-7_64_0, curl-7_63_0, curl-7_62_0, curl-7_61_1, curl-7_61_0, curl-7_60_0, curl-7_59_0, curl-7_58_0, curl-7_57_0, curl-7_56_1, curl-7_56_0, curl-7_55_1, curl-7_55_0, curl-7_54_1, curl-7_54_0, curl-7_53_1, curl-7_53_0, curl-7_52_1, curl-7_52_0, curl-7_51_0, curl-7_50_3
# 45c1c54c 14-Sep-2016 Jay Satiro

examples/imap-append: Set size of data to be uploaded

Prior to this commit this example failed with error
'Cannot APPEND with unknown input file size'.

Bug: https://github.com/c

examples/imap-append: Set size of data to be uploaded

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

show more ...


Revision tags: curl-7_50_2, curl-7_50_1, curl-7_50_0, curl-7_49_1, curl-7_49_0, curl-7_48_0
# 3a6563d6 11-Feb-2016 Daniel Stenberg

examples: adhere to curl code style

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 o

examples: adhere to curl code style

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.

show more ...


Revision tags: curl-7_47_1
# 4af40b36 02-Feb-2016 Daniel Stenberg

URLs: change all http:// URLs to https://


Revision tags: curl-7_47_0, curl-7_46_0
# 06b288a7 22-Nov-2015 Steve Holme

examples: Added website parse-able descriptions to the e-mail examples


Revision tags: curl-7_45_0, curl-7_44_0
# c00b18d5 01-Jul-2015 Daniel Stenberg

examples: provide <DESC> sections


Revision tags: curl-7_43_0, curl-7_42_1, curl-7_42_0, curl-7_41_0, curl-7_40_0, curl-7_39_0, curl-7_38_0, curl-7_37_1, curl-7_37_0
# 0c4589f0 30-Mar-2014 Steve Holme

imap-append.c: Fixed compilation errors on some platforms

In the initializer for len, there is no prototype for "strlen".
In this statement, there is no prototype for "memcpy".


Revision tags: curl-7_36_0, curl-7_35_0
# 5220c1d6 04-Jan-2014 Steve Holme

examples: Standardised username and password settings for all email examples

Replaced the use of CURLOPT_USERPWD for the preferred CURLOPT_USERNAME
and CURLOPT_PASSWORD options and used

examples: Standardised username and password settings for all email examples

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.

show more ...


# 83ae98c6 01-Jan-2014 Steve Holme

examples: Added IMAP APPEND example