Whats is port used for SMTP connection for Gmail Auth workflow?

0 votes
asked Jul 26 by santoshgh (270 points)

Hi Rebex Team,

What is the port used to establish a connection internally by Rebex SMTP auth workflow? Since during establishing the connection we only specify the SMTP server details.

The way connection is established for SMTP OAuth flow:
client.Connect("smtp.gmail.com", SslMode.Implicit);

Regards
Santosh M G

Applies to: Rebex Secure Mail

1 Answer

0 votes
answered Jul 26 by Lukas Matyska (55,430 points)

Since you used SslMode.Implicit the port used is 465.

Please, check out Smtp.DefaultPort, Smtp.DefaultImplicitSslPort and Smtp.AlternativeExplicitSslPort properties to see other common port values.

commented Jul 29 by santoshgh (270 points)
Thanks Lukas for sharing the details, it helped...
...