MailMessage class, SMTP, what port?

  • Thread starter Thread starter Ada
  • Start date Start date
A

Ada

folks, i was testing the .NET class, MailMessage.
i was able to send an email from this small app.


my question is that does anyone know what PORT it sent
the mail through?


thanks in advance.
 
hi PeteZ, thanks for the response.

i was thinking may be the MailMessage class uses a
different port than the standard 25.

for example, FTP uses 21 but we also can specify 1234.
 
Back
Top