Jump to content

How to use mailgun on prestashop as custom SMTP

Recommended Posts

I want to setup my own SMTP parameters using the mailgun service. I'm inserting the correct information but it shows me the error "Error: Please check your configuration

Authentication failed using username '[email protected]' and password '*******************************'", when I'm pressing testing email

Share this post

Link to post
Share on other sites

  • 3 months later...

This is late, but I found this article while looking for the same answer & didn't find anything relevant.


  • Go under Advanced Parameters --> Email
  • Select "Set my own SMTP parameters (For advanced users ONLY)"
  • Under "Email" section with the little cogs fill in your Mailgun credentials:
  • Mail domain name: yourdomain.com
  • SMTP server: smtp.mailgun.org
  • SMTP username: whatever username is given in the Mailgun control panel
  • SMTP password: PW given by Mailgun
  • Encryption: SSL or TLS
  • Port: 465 <-- MAKE SURE THIS PORT IS OPEN IN YOUR FIREWALL. Use port 25 for non-SSL & 587 for TLS.
  • Save, then test. You should be able to see whether or not the email was successfully delivered from your Mailgun logs.

I don't know if it made a difference, but you may also want to set up mail relay on your server for good measure - https://community.rackspace.com/products/f/28/t/63

Share this post

Link to post
Share on other sites

  • 2 years later...

For Prestashop 1.7.4.X
Go to
Configure > Advanced Parameters > E-mail

Then "tick" on "Set my own SMTP parameters (for advanced users ONLY)"

Then enter the data as below

Mail domain name: Enter your mail domain name here
SMTP server: smtp.mailgun.org
SMTP username: email address shown on mailgun.com (eg: [email protected])
SMTP password: shown on mailgun.com
Encryption: SSL (select from drop-down menu)
Port: 465

They click "Save"

After "Save" you can test it using "Send a test email" option.

I've attached print screen image to this post.
It will help you to understand easily.

* If you use MailGun you need to enter your card details, But they charge after rich 10,000 emails limit.

configuring mailgun 1.PNG

configuring mailgun 2.PNG

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More