You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get the library to connect to a Gmail server using some of the example code provided at http://godoc.org/github.com/mxk/go-imap/imap. I've stripped out all unnecessary code in order to just connect to a server. This is my example code:
imap.Dial is returning an error and a nil client. The error should tell you what went wrong (probably the missing port number resulting in a failed connection).
I'm trying to get the library to connect to a Gmail server using some of the example code provided at http://godoc.org/github.com/mxk/go-imap/imap. I've stripped out all unnecessary code in order to just connect to a server. This is my example code:
For the sake of clarity and isolating the problem, I've removed the deferring of the logout and so on. Running the above code results in this error:
I've seen this problem referenced elsewhere, but I've been unable to find a solution. Any suggestions as to what might be wrong?
The text was updated successfully, but these errors were encountered: