I am experiencing issues when trying to use SMTP ports other than port 25. I have tested both port 587 and port 465, but neither seems to work for email verification. The only port that functions correctly is port 25, which is typically blocked by many cloud service providers.
Since port 25 is not a viable option for email verification in most cloud environments, this limitation significantly impacts the usability of the library.
Steps to Reproduce:
Set up ping-email with the following configuration:
import { PingEmail } from "ping-email";
const pingEmail = new PingEmail({
port: 587, // or 465
fqdn: "smtp.example.org",
sender: "verify@example.org",
timeout: 15000,
attempts: 5,
debug: true
});
Call the ping method with a valid email address:
const result = await pingEmail.ping("test@example.com");
console.log(result);
I am experiencing issues when trying to use SMTP ports other than port 25. I have tested both port 587 and port 465, but neither seems to work for email verification. The only port that functions correctly is port 25, which is typically blocked by many cloud service providers.
Since port 25 is not a viable option for email verification in most cloud environments, this limitation significantly impacts the usability of the library.
Steps to Reproduce:
Set up
ping-email
with the following configuration:Call the
ping
method with a valid email address:Output: