What are the port i can use to send email in java?

144 views Asked by At

I am developing a email sender in Java. I need to know which is the port that we are using in javaMail.jar?

And what are the other ports I can use ?

1

There are 1 answers

1
Jordi Castilla On

Common EMAIL ports:

SMTP                      port 25 or 2525 or 587
Secure SMTP (SSL / TLS)   port 465 or 25 or 587, 2526 (Elastic Email)
POP3                      port 110
IMAP                      port 143
IMAP SSL (IMAPS)          port 993

Take a look here for further info