λ nmap -Pn -pT:25 smtp.mailgun.org
Starting Nmap 7.70 ( https://nmap.org ) at 2018-10-11 23:42 W. Central Africa Standard Time
Stats: 0:00:06 elapsed; 0 hosts completed (0 up), 0 undergoing Host Discovery
Parallel DNS resolution of 1 host. Timing: About 0.00% done
Nmap scan report for smtp.mailgun.org (35.161.201.187)
Host is up (0.45s latency).
Other addresses for smtp.mailgun.org (not scanned): 52.26.154.214
rDNS record for 35.161.201.187: ec2-35-161-201-187.us-west-2.compute.amazonaws.com
PORT STATE SERVICE
25/tcp open smtp
Nmap done: 1 IP address (1 host up) scanned in 8.14 seconds
I talked to namecheap support, they gave me working port. @Cronix@D9705996 Thanks so much guyz. With selfless people like you guyz, i can build anything. It makes me want to give more to the community
@achur00 I already tried it, but it has not worked in my case.
Even when I search for the error on google, it seems like the problem was in the server means the blog says it does not work because of the cpanel firewall.
@nihir Have you checked your mail.php.
I had similar problem some times ago, and I fix it by using this in my env on local server :
MAIL_MAILER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=example@mailtrap
MAIL_PASSWORD=#####
MAIL_ENCRYPTION=tls
[email protected]
MAIL_FROM_NAME="${APP_NAME}"
//and on mail.php in config use: 'default' => env('MAIL_MAILER', 'smtp'),
// on the remote , the setting is pretty much the same :
MAIL_DRIVER=sendmail
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=example@mailtrap
MAIL_PASSWORD=***********
MAIL_ENCRYPTION=tls
[email protected]
MAIL_FROM_NAME="${APP_NAME}"
//and on mail.php in config use: 'default' => env('MAIL_MAILER', 'sendmail'),