ekpono
ekpono
4 days ago (3,720 XP)

Have switch to mailgun

λ 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

ekpono
ekpono
4 days ago (3,720 XP)
[[email protected] public_html]$ server
-bash: server: command not found

D9705996
D9705996
4 days ago (121,130 XP)

To setup mailgun integration you need to run the following via ssh on your server in the folder where you installed your application.

composer require guzzlehttp/guzzle

Then modify .env to add these keys with your details from your mailgun account settings

MAILGUN_SECRET=
MAILGUN_DOMAIN=

Delete all the SMTP_...settings from .env and changeMAIL_DRIVER= from smtp to mailgun

Now try sending an email in you application.

ekpono
ekpono
4 days ago (3,720 XP)

I am getting a new one now Client error:POST https://api.mailgun.net/v3/sandboxbbd9e6bb46694ce2b51a5eb0fe6344****.mailgun.org/messages.mimeresulted in a401 UNAUTHORIZEDresponse: Forbidden

ekpono
ekpono
4 days ago (3,720 XP)

Though the mailgun account is not verified Am still getting this when verifying

An error occurred while attempting to send your verification code, please try again. Contact Support if the issue persists.
Cronix
Cronix
4 days ago (786,650 XP)

Did you contact mailgun support?

ekpono
ekpono
4 days ago (3,720 XP)

I have written to them.

Cronix
Cronix
4 days ago (786,650 XP)

I haven't used them. Is this verification code supposed to be sent via text message, email or what's it talking about?

ekpono
ekpono
4 days ago (3,720 XP)

yes .. it supposed to be sent via phone. But am not getting the code.

ekpono
ekpono
4 days ago (3,720 XP)

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

Please sign in or create an account to participate in this conversation.