When I connect to gmail programmatically (开发者_如何学编程using javamail), gmail also automagically signs me into chat. How do I tell javamail to tell gmail not to sign me into chat too?
If you manually sign-out of chat once,the next time you login to gmail ,it will retain the previous state,so you can avoid automatic login to chat.There must be a programmatic solution,i'm just giving a temporary solution.
精彩评论