Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
aleszib opened this issue Nov 5, 2014 · 1 comment

Comments

@aleszib
Copy link

aleszib commented Nov 5, 2014

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.

@trinker
Copy link
Owner

trinker commented Nov 5, 2014

@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]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants