When I run the batch file, with SSL on, host set to smtp.gmail.com, port 465, and with my correct Google Apps username and password, the program gets stuck on:
Sending mail anyway.
DEBUG: setDebug: JavaMail version 1.4.5
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.s
mtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 465, isSSL false
Any ideas? I have also tried it several other ways (different host names, without SSL, etc.) with no luck.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry it's hard for me to give "remote" support in that case, as I don't know your exact setup. But what I can tell is that WinRaidMonitor is definitely working with Gmail and SSL, I am using it on multiple machines connected to Gmail without any issues.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The one thing that I am confused about is that it says, "isSSL false" but in my .bat file it definitely has SET USE_SSL=1. Does that seem like an error?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I run the batch file, with SSL on, host set to smtp.gmail.com, port 465, and with my correct Google Apps username and password, the program gets stuck on:
Sending mail anyway.
DEBUG: setDebug: JavaMail version 1.4.5
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.s
mtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "smtp.gmail.com", port 465, isSSL false
Any ideas? I have also tried it several other ways (different host names, without SSL, etc.) with no luck.
When I say "gets stuck on", I mean that it stops at that point and just sits there. I have let it stay in that position for >15 min with no progress.
Sorry it's hard for me to give "remote" support in that case, as I don't know your exact setup. But what I can tell is that WinRaidMonitor is definitely working with Gmail and SSL, I am using it on multiple machines connected to Gmail without any issues.
The one thing that I am confused about is that it says, "isSSL false" but in my .bat file it definitely has SET USE_SSL=1. Does that seem like an error?
Also, what host do you use for gmail? smtp.gmail.com or smtp-relay.gmail.com?
I am using smtp.gmail.com
Could it be a firewall issue?
No, but it was Avast Antivirus. All issues resolved now. Thank you for the software.
Great :-)