Smtp server address for testing

I am making an example email program in Java that uses the SMTP protocol to send email and attachments. Unfortunately, most of them require authentication, and I would prefer not to deal with this additional complexity. Does anyone know of a free provider that I can register with, which has a smpt server that does not need authentication?

+3
source share
2 answers

You request an open relay; they abuse spammers and close pretty quickly.

Your ISP may have a mail server that will accept mail from you without authentication if you go out of your IP range, but even this is quite unusual these days.

You can install the MTA (Mail Transfer Agent) locally for testing purposes.

However, if you have, for example, the address @gmail.comthat you want to send mail for testing, sending mail without authentication to Google MX servers, for example, gmail-smtp-in.l.google.com) will work, since they accept mail for local delivery.

( , SMTP , , , IP, ; , .)

+2

SMTP-, Dumbster ( , Java).

+2

Source: https://habr.com/ru/post/1793729/


All Articles