gmailR icon indicating copy to clipboard operation
gmailR copied to clipboard

Error in jython.exec(rJython, mail) : Only AF_INET sockets are currently supported on jython

Open aleszib opened this issue 10 years ago • 1 comments

When I try to sent a test mail using the gmail fucntion I get this error: Error in jython.exec(rJython, mail) : Only AF_INET sockets are currently supported on jython

I used the following code: gmail(to="[email protected]", password="xxxxxxxx", subject = "Test R", message = "Test R", from = "[email protected]", attachment = NULL, server = "smtp.gmail.com:587", username = "[email protected]", confirmBeforeSend = FALSE, clear.username = FALSE)

The funny thing is that before (on another computer which I can not access now) the thing worked.

aleszib avatar Nov 05 '14 09:11 aleszib

@aleszib

I don't know. I actually understand very little of the code. I know R well but only a bit of Python. It's a wrapper for someone else's code. Hopefully someone sees this and can help you out. A Google search gives 2 hits with a similar error message:

https://code.google.com/p/django-jython/issues/detail?id=55 http://dwteam.in/send-mail-in-odi-using-gmail-credentials/ [in the comments]

trinker avatar Nov 05 '14 16:11 trinker