0 votes
by (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
by (73.6k 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.

by (270 points)
Thanks Lukas for sharing the details, it helped...
...