rstudio / blastula

Easily send great-looking HTML email messages from R
https://pkgs.rstudio.com/blastula
Other
548 stars 85 forks source link

An unknown option was passed in to libcurl #330

Open andresimi opened 5 months ago

andresimi commented 5 months ago

Hello, I am getting this error when trying to send emails that I could not resolve.

smtp_send(prepare_test_message(), 
                     to = "test@gmail.com", 
                     from = "test2@gmail.com", 
                     credentials = creds_file("gmail_creds"))
Error in handle_setopt(h, ...) : 
An unknown option was passed in to libcurl

When I run on terminal

[andresimi@andresimi bin]$ which curl
/usr/local/bin/curl
[andresimi@andresimi bin]$ which libcurl
/usr/bin/which: no libcurl in (/opt/conda/bin:/opt/conda/bin:/home/andresimi/.local/bin:/home/andresimi/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/var/lib/snapd/snap/bin)

I am pretty sure curl, and libcurl-devel were installed via dnf.

Do you have any idea? Thanks

Versions R 4.3.3 Fedora 39 Blastula 0.35 curl 8.2.1 libcurl 8.2.1

andresimi commented 3 months ago

I am still struggling with blastula, it simply does not send the emails. Does anybody knows what is going on? Best!

jeroen commented 4 days ago

If you are on RHEL 9 this is likely caused by: https://github.com/rstudio/blastula/issues/340