--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/NIkmC_yOvyAJ.
To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
The default value of SmtpClient.UseDefaultCredentials is false. But if that value is explicitly set, the request generates an exception. Omitting the line solves the problem. Go figure.
Dan
465 will also work, depending on your security choices:
https://mail.google.com/support/bin/answer.py?answer=13287
m