Back to main menu

Email best practices

How to use Mailjet as your SMTP server: The steps to follow

With email being older than the World Wide Web itself, it comes to no surprise that there is a plethora of SMTP server implementations out there. Learn how to use Sinch Mailjet’s SMTP server.

God wondering next to laptop and paper airplane

PUBLISHED ON

PUBLISHED ON

Whether you use Outlook, Apple, or Google's Gmail, your email client is already linked up with an SMTP (Simple Mail Transfer Protocols) service to send emails to your mail server. In most cases, they also download inbound emails to their systems or apps by applying Internet Message Access Protocols (IMAP) or Post Office Protocols (POP3).

However, you might be facing a common problem: blocked email delivery when trying to deliver emails to subscribers' inboxes. Here’s where an SMTP server like Sinch Mailjet’s can help.

Sinch Mailjet’s SMTP relay

At Sinch Mailjet, we've got your back with all things email marketing, and we've also got all our digital infrastructure set up to handle a copious amount of email sending and receiving with ease.

We do this with a free service we offer called SMTP relay. This can be fully up and running in less time than it takes to read this article. And with the capabilities it offers, you'll be able to work a lot more efficiently.

How to set up Sinch Mailjet as your SMTP server

Sinch Mailjet's SMTP Relay integrates seamlessly with the email client or email sending technology like PHP, Java, Postfix, and Exim that you're already using.

To connect to your email client, you need to tweak your SMTP settings with a specific SMTP port number (see below for your port options). To check your settings, follow these steps:

  1. Badge Check

    Open your account settings on the Sinch Mailjet platform.

  2. Badge Check

    Click SMTP and SEND API settings.

  3. Badge Check

    Once you're on the SMTP setting page, look for your username and password (API key and secret key) and the Sinch Mailjet SMTP server name and ports.

Configuration page for email sending via API or SMTP, showing credential fields, SMTP settings, and sidebars for email templates and context-aware messaging features.

Good news: SMTP is also compatible with all SMTP-specific technology, which takes a lot of the "fuss and muss" out of this SMTP business. Once that's done, add your API key as the username and secret key for your password, then initiate the host/SMTP server in-v3.mailjet.com.

Now you’ll need to look at the ports to figure out which one will suit your needs. Choose wisely because ports can impact your SMTP relay service and increase email deliverability.

Port

Purp­ose

TLS

SSL

Port

25

Simp­le Mail­ Tran­sfer Prot­ocol Port­

Opt­io­nal

No

Purp­ose

80

Hype­rtext Tran­sfer Prot­ocol Port­

Opt­io­nal

No

TLS

465

Auth­enticated SMTP­ over­ SSL Port­

No

Yes

SSL

587/588

Emai­l Mess­age Subm­ission Port­

Opt­io­nal

No

2525

The Alte­rnative Port­

Opt­io­nal

No

Port 25 – The who’s who of SMTP ports

Anyone who's anyone (and your system’s admin) knows that SMTP is designed to work with port 25. Port 25 is the essential gold standard. And there are pros and cons to that. While port 25 is the most common port through which emails are being sent, it's also the one that most SMTP clients are keeping a close eye on. This sometimes results in your emails being filtered out or blocked altogether.

Woah, why is that happening?

Well, port 25 is actually blocked on many networks. Since it's the most common port for sending emails, it's also the port most used for sending dangerous spam and other harmful content. As a result, many internet service providers (ISPs) restrict email services that send content through port 25.

You or your email server manager have several workarounds, such as leaving port 25 or allowing SMTP connection through it. You can also take security steps, such as email verification to filter spam or enable transport layer security encryption. If you're like, “I'm sorry, what?” Don't worry. All of this can be done with Sinch Mailjet.

Port 80 – The hypertext transfer protocol port (HTTP) that matters

This is the port used for communication done according to the HTTP. In other words, this is the authoritative port that your server trusts implicitly. Your server expects to receive correspondence through this port from a web client and all related HTML page data.

Can we tell you what’s great about this port? It's almost always open. When you use this port, your email will get to its intended recipient the majority of the time.

If you're into this sort of thing, you can also use TLS encryption on port 80.

Port 465 – The one with the secure sockets layer (SSL)

If you thought we were through with the formal, technical language and corresponding acronyms, think again, because port 465 is the one for SMTP to use when dealing with SSL.

Briefly, SSL is a communication encryption method, and you would only use this port if the application you're using to send emails requires you to do so.

Port 587 and Port 588 – Send secure messaging with TLS

These two ports are usually used for sending and receiving email message submissions. It's regularly used along with TLS encryption, so if port 80 isn't working for you, give ports 587 and 588 a try.

Port 2525 – The rebellious one

The alternative rock of SMTP ports. 2525 is an unofficial port, and it's not even sanctioned by governing bodies like Internet Engineering Task Force (IETF) or Internet Assigned Numbers Authority (IANA). And yet so many email clients are compatible with this port. It's actually regularly used by people using Google as their email client experiencing blockages. Also, you can use TLS encryption with this port.

We recommend using it as an alternative to ports 587 or 588 when they or others aren't working or are blocked.

For an in-depth explanation, check out Sinch Mailgun’s ultimate guide on SMTP ports.

Wrapping up

Congratulations, you now have a handle on all things SMTP servers and network ports. Plus, you've learned that if setting up your SMTP alone sounds overwhelming, you don’t have to.

Lean how Sinch Mailjet's platform can save you time and help get those marketing emails sent out faster.

Rest assured that if you've got any other questions, our support team would be happy to help.

***

This is an updated version of the article “How to choose an SMTP server “ published in 2014 on the Mailjet blog.

Popular posts

Hermes rides a firework next to a Goddess in front of a night sky with more fireworks

Email best practices

6 min

Top email marketing trends for 2022

Read More

Hermes on a moped delivering mail to a mailbox

Email best practices

8 min

Reducing email’s carbon footprint

Read More

Mother's day gift for Hera

Marketing

14 min

Marketing calendar 2024: Dates you shouldn’t miss this year

Read More

It's never been easier to build connected experiences. Start sending with Mailjet today.Get started on your path
CTA icon