rstudio / blastula

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

How to set timeout for Curl when using smtp_send() function? #276

Open nitish-inqube opened 3 years ago

nitish-inqube commented 3 years ago

When I am trying to send an email using my O365 account, I am getting a timeout. The same code works fine when I am connected to a public network, but does not seem to work on my office network.

My initial guess was that maybe the firewall is blocking curl requests, but that's not the case as if I send the same email using the emayili package instead of blastula, the email can be sent by setting the curl timeout to 20 seconds or more.

Unfortunately, I am unable to figure out a way to increase the timeout when using blastula. Please help.