I’m using SMTPSecureSocket in a console app to connect to Gmail. It all works fine, but in the console output I get lots of Gmail messages that look like this:
Feb 24 10:26:46 foo[10058] <Warning>: 220 smtp.gmail.com ESMTP j11sm4989781qta.39 - gsmtp
Feb 24 10:26:47 foo[10058] <Warning>: 250-smtp.gmail.com at your service, [108.28.109.149]
Feb 24 10:26:47 foo[10058] <Warning>: 250-SIZE 35882577
Feb 24 10:26:47 foo[10058] <Warning>: 250-8BITMIME
Feb 24 10:26:47 foo[10058] <Warning>: 250-AUTH LOGIN PLAIN XOAUTH2 PLAIN-CLIENTTOKEN OAUTHBEARER XOAUTH
Feb 24 10:26:47 foo[10058] <Warning>: 250-ENHANCEDSTATUSCODES
I don’t have any code that’s sending these messages to the console. Is there any way to stop them? I don’t see a setting on the socket that would prevent this chatty behavior.
Thanks!