hey there guys, Daniel Shifftman's code did not work for me either thats why I'm here. I've got a few quick questions.
sendMail. Basically from what I can read a lot of files are missing from the java "C:processing-1.5.1-windowsprocessing-1.5.1javalib" folder and no I don't have a javamail folder in the lib.
DEBUG: JavaMail version 1.3.3
DEBUG: java.io.FileNotFoundException: C:processing-1.5.1-windowsprocessing-1.5.1javalibjavamail.providers (The system cannot find the file specified)
DEBUG: URL jar:file:/D:/Varun Stuff/Arduino_Processing/Processing/tutorials/emailing/post 1/Email (1)/Email/code/imap.jar!/META-INF/javamail.providers
DEBUG: successfully loaded resource: jar:file:/D:/Varun Stuff/Arduino_Processing/Processing/tutorials/emailing/post 1/Email (1)/Email/code/imap.jar!/META-INF/javamail.providers
DEBUG: URL jar:file:/D:/Varun Stuff/Arduino_Processing/Processing/tutorials/emailing/post 1/Email (1)/Email/code/pop3.jar!/META-INF/javamail.providers
DEBUG: successfully loaded resource: jar:file:/D:/Varun Stuff/Arduino_Processing/Processing/tutorials/emailing/post 1/Email (1)/Email/code/pop3.jar!/META-INF/javamail.providers
DEBUG: URL jar:file:/D:/Varun Stuff/Arduino_Processing/Processing/tutorials/emailing/post 1/Email (1)/Email/code/smtp.jar!/META-INF/javamail.providers
DEBUG: successfully loaded resource: jar:file:/D:/Varun Stuff/Arduino_Processing/Processing/tutorials/emailing/post 1/Email (1)/Email/code/smtp.jar!/META-INF/javamail.providers
DEBUG: not loading resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy stems, Inc]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsy stems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc]}
DEBUG: not loading resource: /META-INF/javamail.default.address.map
DEBUG: URL jar:file:/D:/Varun Stuff/Arduino_Processing/Processing/tutorials/emailing/post 1/Email (1)/Email/code/smtp.jar!/META-INF/javamail.address.map
DEBUG: successfully loaded resource: jar:file:/D:/Varun Stuff/Arduino_Processing/Processing/tutorials/emailing/post 1/Email (1)/Email/code/smtp.jar!/META-INF/javamail.address.map
DEBUG: java.io.FileNotFoundException: C:processing-1.5.1-windowsprocessing-1.5.1javalibjavamail.address.map (The system cannot find the file specified)
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
authenticating. .
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 465, isSSL false
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
nested exception is:
java.net.ConnectException: Connection timed out: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1227)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:322)
at javax.mail.Service.connect(Service.java:258)
at javax.mail.Service.connect(Service.java:137)
at javax.mail.Service.connect(Service.java:86)
at javax.mail.Transport.send0(Transport.java:150)
at javax.mail.Transport.send(Transport.java:80)
at Email.sendMail(Email.java:182)
at Email.setup(Email.java:58)
at processing.core.PApplet.handleDraw(Unknown Source)
at processing.core.PApplet.run(Unknown Source)
at java.lang.Thread.run(Thread.java:662)