HowTo: Jython smtplib: java.net.SocketException: Network is unreachable: connect --- workaround
************ workaround -------
tell Java to prefer the IPv4 stack by either
- command line parameter -Djava.
- or using this in the script before touching smtplib features:
import java.lang.System as JS
JS.setProperty(
-------
Hy,
I need to send an email after execution.
So, I use smtplib. And it's working from a python console.
When I implemente the code in a sikuli script, and execute with runsikulix.cmd -r <script> , I've the following message :
[error] socket.error ( (-1, 'Unmapped exception: java.net.
Exception in thread "MainThread" java.lang.
at java.util.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
at org.sikuli.
Can you help me ??? URGENT
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Armel
- Solved:
- Last query:
- Last reply: