Finally figured it out, with help from another forum. First, the correct port is 587. Second, omit the line which sets the client.UseDefaultCredentials property. 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 -- 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/-/UO6GSWthRL4J. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
