Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: Unreal Engine 5 SMTP Mail Sender with libcurl
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Ray Satiro via curl-library <curl-library_at_lists.haxx.se>
Date: Tue, 15 Aug 2023 17:38:13 -0400
On 8/15/2023 7:56 AM, Frozen Forest via curl-library wrote:
> I have to send multiple attachments to*"To, Cc, Bcc" targets with
> proper mail subject.*
> If I use *payload_source *method, I can see subject and all recipients
> are in correct group but I can't attach any file.
> If I use *mime* method, I can't integrate my header to mail. So, I can
> send all my files correctly to all my recipients but there is no
> subject and Cc, Bcc groups.
>
> *my codes are in here. Header related functions start from 146*
> https://gist.github.com/ffreality/c5d4fbd1e7226ea887c226ab3ed3fef6
>
> I integrated some into comments on the top to explain Unreal's workflow.
> If I solve this problem with your help, I will happily open my plugin
> to ecosystem as open source.
If you are attaching files I suggest that you take a look at the
smtp-mime example [1] rather than use payload_source (the
CURLOPT_READFUNCTION used in some other libcurl smtp examples).
[1]: https://curl.se/libcurl/c/smtp-mime.html
Date: Tue, 15 Aug 2023 17:38:13 -0400
On 8/15/2023 7:56 AM, Frozen Forest via curl-library wrote:
> I have to send multiple attachments to*"To, Cc, Bcc" targets with
> proper mail subject.*
> If I use *payload_source *method, I can see subject and all recipients
> are in correct group but I can't attach any file.
> If I use *mime* method, I can't integrate my header to mail. So, I can
> send all my files correctly to all my recipients but there is no
> subject and Cc, Bcc groups.
>
> *my codes are in here. Header related functions start from 146*
> https://gist.github.com/ffreality/c5d4fbd1e7226ea887c226ab3ed3fef6
>
> I integrated some into comments on the top to explain Unreal's workflow.
> If I solve this problem with your help, I will happily open my plugin
> to ecosystem as open source.
If you are attaching files I suggest that you take a look at the
smtp-mime example [1] rather than use payload_source (the
CURLOPT_READFUNCTION used in some other libcurl smtp examples).
[1]: https://curl.se/libcurl/c/smtp-mime.html
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2023-08-15