Page 2 of 9

Re: libcurl.pbi

Posted: Sat Dec 24, 2022 12:13 am
by infratec
What you are doing has nothing to do with the informartions I provided to you.

Here is an other link (maybe this one is easier to understand):

https://email2go.io/blog/embedded-images-in-html-email

Re: libcurl.pbi

Posted: Mon Jan 16, 2023 1:16 pm
by Kwai chang caine
Thanks a lot INFRATEC for this great and very usefull thread 8)

Re: libcurl.pbi

Posted: Thu Jan 26, 2023 10:41 am
by infratec
Added 2 constants used for SFTP examples.

Added an example:

SFTP_get.pb

Re: libcurl.pbi

Posted: Thu Jan 26, 2023 12:36 pm
by infratec
Added again a few missing constants.

Added examples:

SFTP_upload.pb
SFTP_uploadresume.pb

Re: libcurl.pbi

Posted: Thu Jan 26, 2023 5:30 pm
by infratec
Updated the dlls to version 7.87.0

Re: libcurl.pbi

Posted: Fri Mar 03, 2023 9:35 am
by drgolf
Hello,

Very nice lib.

On windows, pb 6.01 b4 ASM i have an error :
unresolved external symbol '_curl_easy_escape'
and '_curl_easy_unescape'

Work fine on C backend.

Test with example ; SMTPS.pb

I have included without sucess :

Code: Select all

Import "wsock32.lib"
EndImport

Re: libcurl.pbi

Posted: Sat Mar 04, 2023 3:46 pm
by infratec
It was in x64 version.

It is fixed now.

Re: libcurl.pbi

Posted: Sat Mar 04, 2023 6:01 pm
by drgolf
Thanx,

New version work fine with pb6.01 b5

Re: libcurl.pbi

Posted: Sun Apr 30, 2023 5:40 pm
by infratec
Updated libcurl.dll to 8.0.1

Changed all includes in the examples to libcurl.pbi and also changed the name from LibCurl.pbi to libcurl.pbi.
This avoids trouble in linux and macOS.

Re: libcurl.pbi

Posted: Sun Apr 30, 2023 6:46 pm
by infratec
Added some missing stuff for multi interface.

Added an example for asynchronous usage.

Re: libcurl.pbi

Posted: Sun Jul 09, 2023 9:10 am
by infratec
Updated the libcurl dll to 8.1.2

Changed the data handling to be thread safe. (if you don't use your own write function)
Every process use now it's own variable for the received data.

Re: libcurl.pbi

Posted: Wed Aug 02, 2023 6:45 am
by infratec
HTTPInfoI() returns now "0" instead of "" as #PB_HTTP_StatusCode if something went wrong.
Now it has the same behaviour as the original version.

Re: libcurl.pbi

Posted: Wed Aug 02, 2023 11:05 am
by loulou2522
Hi Infratec
How can i attach a binary file to an email sent with libcurl
THanks in advance

Re: libcurl.pbi

Posted: Wed Aug 02, 2023 3:24 pm
by infratec
You cannot send a binary file via email. You need to Base64 encoding.
That's one of the reasons why you should not attach large files to an e-mail, because the size is growing by 33%.
And the receivers mailbox can avoid it.

look inside: OutLookEMail.pb

Additional:
https://curl.se/libcurl/c/smtp-mime.html

https://stackoverflow.com/questions/147 ... c-language

Re: libcurl.pbi

Posted: Fri Aug 04, 2023 10:08 am
by drgolf
Hello !

I use LibCurl with IMAP for access mailbox.
How can i access mail in trash or junk dir ?

I can list mail in INBOX and for other dirs ?