Closed CharlesCara closed 9 years ago
socketConnectionTimeout and socketTimeout added as allowed values of smtp
Hi Raj.
I think mailR is great, but I was getting timeouts on our smtp server. I have added and documented the abilty to override the default timeouts.
Thanks for this. I will merge it in shortly...
What error did you receive upon timeout? Could you share it with me?
Would you like to take a crack at it and re-send the pull request (preferably to the develop branch)?
I suggest we try something like:
send.mail <- function(from, to, subject = "", body = "", encoding = "iso-8859-1", html = FALSE, inline = FALSE, smtp = list(), authenticate = FALSE, send = TRUE, attach.files = NULL, timeout = 60000, debug = FALSE, ...)
{
...
# your new code
}
Yes I can do that when I am back in the office tomorrow.
Charles
On 2 Jul 2015, at 22:15, Rahul Premraj notifications@github.com wrote:
Would you like to take a crack at it and re-send the pull request (preferably to the develop branch)?
I suggest we try something like:
send.mail <- function(from, to, subject = "", body = "", encoding = "iso-8859-1", html = FALSE, inline = FALSE, smtp = list(), authenticate = FALSE, send = TRUE, attach.files = NULL, timeout = 60000, debug = FALSE, ...) { ...
your new code
} — Reply to this email directly or view it on GitHub https://github.com/rpremraj/mailR/pull/30#issuecomment-118170596.
Awaiting new pull request.
socketConnectionTimeout and socketTimeout added as allowed values of smtp