How to Complete Your Mailjet SMTP Setup (The Right Way)
Mailjet SMTP Setup: The A-to-Z Guide for Reliable Email
It’s a frustratingly common problem for any website owner. A potential customer fills out your contact form, but the notification vanishes. A user signs up for an account but never receives the verification email. An e-commerce customer completes a purchase but their receipt is sent directly to their spam folder. These are not small glitches; they are critical failures that can damage your business and erode customer trust.
The Mailjet SMTP service is a powerful and reliable solution designed to solve this exact problem. By configuring your website to send its emails through Mailjet’s professional delivery engine, you can ensure your most important messages land safely in the inbox.
This comprehensive guide is here to help. We will cover every single step of the Mailjet SMTP setup process. From understanding Mailjet’s unique platform and finding your secret credentials to authenticating your domain for maximum deliverability, this guide has you covered.
Understanding Mailjet’s All-in-One Email Platform
Mailjet is an all-in-one email service provider that combines a user-friendly marketing campaign builder with a powerful SMTP relay and API, allowing businesses to manage both their newsletters and transactional emails from a single platform. Unlike some other providers that treat these two types of email as completely separate products, Mailjet integrates them into one unified dashboard.
This “all-in-one” philosophy is Mailjet’s core strength and a key differentiator in the market. It positions the platform as a complete email solution for businesses that want to handle all of their email communications—from marketing to transactional—under one roof.
This approach simplifies the entire process of email management. You have one account, one set of contacts, one billing plan, and one place to view your analytics. Whether you are designing a promotional newsletter or configuring your website’s password reset emails, it all happens within the same ecosystem. This makes it an attractive option for small businesses and marketing teams who value simplicity and efficiency.
The Benefit of a Unified Platform
Mailjet’s unified approach provides several key benefits that directly address the pain points found in other services. The most significant advantage is simplicity. With services like Mailchimp, for example, transactional email is a separate, paid add-on with its own set of rules and configurations. This can be confusing and lead to more complex billing. With Mailjet, it’s all included from the start.
Your transactional sending and your marketing campaign sending are both managed from the same account. This means you have a single, clear view of your entire email operation. You can see the analytics for your latest newsletter right next to the delivery statistics for your password reset emails. This makes it much easier to get a holistic understanding of how your audience is interacting with your brand across all email touchpoints.
This unified model also simplifies cost management. You are not trying to manage two separate subscriptions or plans. Your Mailjet plan typically includes a monthly email allowance that can be used for either marketing or transactional sends, giving you more flexibility in how you use your quota. For a small business owner who doesn’t want the headache of managing multiple services, this integrated approach is a powerful and compelling reason to choose the platform for their mailjet smtp settings.
When to Use the Mailjet SMTP Relay vs. the API
Like other professional email providers, Mailjet offers two primary methods for sending your transactional emails: the SMTP Relay and the API. Understanding the difference is key to choosing the right integration method for your specific needs.
The SMTP Relay is the most common and straightforward method, and it is the focus of this guide. It is built on the universal standard for sending email, meaning it can be integrated with virtually any existing website, application, or email client without any custom software development. You simply take the mailjet smtp credentials and paste them into the settings of your application, like a WordPress SMTP plugin. This is the perfect solution for business owners, marketers, or administrators who want to connect an existing platform and improve its email deliverability quickly and easily.
The API (Application Programming Interface), on the other hand, is a more powerful and flexible method designed for software developers. Instead of relying on a standard protocol, a developer writes code that communicates directly with Mailjet’s systems. This offers greater speed, more control over the email sending process, and the ability to receive detailed, real-time feedback about email events. A developer would choose the API when building a new web application from scratch and wanting the tightest possible integration. For most users looking to fix their website’s email, the SMTP Relay is the correct and simplest choice.
How to Find Your Correct Mailjet SMTP Settings
Your Mailjet SMTP settings are based on your unique API Key and Secret Key, which are found in the API key management section of your account settings and serve as your username and password, respectively. This is a critical point to understand and a key way that Mailjet’s configuration differs from a traditional email account setup. You do not use your main account login email and password for your SMTP connection.
Instead, Mailjet uses a more secure and programmatic method of authentication. It requires you to generate a specific set of keys that are used exclusively for sending email through its systems. This is a vital security practice. By using a dedicated API Key and Secret Key, you avoid exposing your primary account credentials within your website’s or application’s configuration files.
This separation ensures that even if your website were compromised, an attacker would not gain access to your entire Mailjet account. The credentials only grant permission to send email, not to change your billing, manage your contacts, or access your campaign data. Finding these keys is the most important step in the entire process, as they are the “keys to the kingdom” for the Mailjet sending engine. The following sections will guide you through the conceptual path to locating and understanding these vital credentials.
Finding Your Mailjet API Key (Your SMTP Username)
The first and most unusual part of the Mailjet SMTP setup is understanding the role of the API Key. For Mailjet, the public API Key itself functions as your SMTP username. This is different from almost any other provider and is a frequent point of confusion for new users.
To find this key, you will need to navigate to the account administration section of your Mailjet dashboard. The path typically starts by clicking on your account profile icon, which is usually in the top-right corner of the screen. From the dropdown menu that appears, you will select an option like “Account Settings.”
Inside the settings area, you will need to find the section dedicated to developers or API access. This is often labeled something like “API Keys,” “Rest API,” or “API Key Management.” This is the central hub where you manage all the programmatic connections to your Mailjet account.
Upon entering this section, Mailjet will display your primary API Key. This key is a long string of alphanumeric characters. It is considered a public key, meaning it is safe to have it visible. This is the value that you will copy and use as the “Username” in your SMTP plugin or application settings. It’s essential to copy this key exactly as it appears, without any extra spaces. Remembering that for Mailjet, “API Key” equals “SMTP Username” is the secret to a successful setup.
Finding Your Mailjet Secret Key (Your SMTP Password)
Paired with every public API Key in Mailjet is a corresponding Secret Key. This Secret Key is what functions as your SMTP password. It is a highly sensitive credential that provides the actual authorization to send email through your account.
You will find the option to view or generate your Secret Key in the exact same “API Key Management” section of your Mailjet account where you found your public API Key. The two are always presented together as a pair.
This next step is the most critical part of the entire process from a security standpoint. When you generate or view your Secret Key, Mailjet will display it on the screen one time and one time only. For your protection, it will never be shown again. You must immediately copy this Secret Key and paste it into a secure location, such as a password manager. If you lose this key or close the window without saving it, you will have to generate a new key pair, which will require you to update any other applications that were using the old keys. This copied Secret Key is the exact value you will paste into the “Password” field of your SMTP application.
The Other Mailjet SMTP Credentials
Once you have securely stored your API Key (username) and Secret Key (password), you only need two more pieces of information to complete your set of mailjet smtp credentials. Unlike the keys, which are unique to your account, these last two settings are static and are the same for all Mailjet users.
The first is the Server Hostname. This is the address of Mailjet’s global SMTP relay service. The correct address is:
in-v3.mailjet.com
This address is the specific destination on the internet where your email application will send your messages for processing.
The second is the Port number. Mailjet recommends using port 587. This is the industry standard for secure email submission and it utilizes TLS encryption to ensure that the data transmitted between your application and the Mailjet server is safe and private. By combining your unique API Key and Secret Key with these standard server and port settings, you have the complete and correct configuration for your mailjet smtp setup.
Domain Authentication: The Essential Step for Deliverability
Authenticating your sending domain with Mailjet is an essential step that involves adding specific SPF and DKIM records to your DNS, which proves your identity to inbox providers and is required for building a good sending reputation. This is not an optional tweak or a minor optimization; it is a foundational requirement for anyone who is serious about their emails reaching the inbox. Without proper authentication, your emails are sent from a shared, unverified source, making them look highly suspicious to spam filters.
Completing this process directly impacts how professional your emails appear to your recipients. A successfully authenticated domain removes the “sent via mailjet.com” or “on behalf of” message that can appear in email clients like Gmail. Instead, your recipients will see only your own clean, trusted domain name as the sender. This small detail has a significant impact on brand perception and can directly influence whether a user trusts your message enough to open it.
Think of it as the difference between sending a letter on generic paper versus sending one on official company letterhead. The official letterhead immediately establishes legitimacy and authority. In the world of email, domain authentication is your digital letterhead. It is the action that tells the world’s email servers that you are a professional, verified sender who takes responsibility for the mail you send.
Why Sender Authentication is Mandatory for Good Results
Sender authentication is mandatory for achieving good deliverability because the entire email ecosystem is built on a foundation of trust. Inbox providers like Microsoft, Google, and Yahoo are in a constant battle against a massive volume of spam, phishing attacks, and fraudulent emails. Their primary job is to protect their users, and they do this by scrutinizing every incoming message for signs of legitimacy. The most important sign they look for is verifiable proof of identity.
When you send an email without authenticating your domain, it arrives at the receiving server without any verifiable credentials. The server asks, “Who sent this?” and the email can only answer, “I was sent by Mailjet on behalf of this domain.” The server has no way of knowing if you actually authorized Mailjet to send on your behalf, or if a spammer is just using the service to forge your email address. This ambiguity is a massive red flag.
By setting up your SPF and DKIM records, you provide the definitive answer. SPF acts as a public list of approved senders, and DKIM acts as a tamper-proof digital seal on the message itself. When a server sees that your email passes both these checks, it can be confident that you are the legitimate sender. This confidence is what grants your email passage into the primary inbox instead of being diverted to the spam folder.
A Conceptual Walkthrough of Authenticating Your Domain
The process of authenticating your domain is a conceptual handshake between Mailjet and your domain registrar (the company where you purchased your domain name, like GoDaddy or Namecheap). It involves you proving your ownership of the domain by making a specific change to its public records.
The journey begins within your Mailjet account, in a section typically dedicated to “Sender Domains & Addresses.” Here, you will add the domain you wish to send from.
Once you add your domain, Mailjet’s system will automatically generate a unique set of SPF and DKIM records specifically for your account. These records will be presented as long strings of text. They are not meant to be understood by you, but by other computer systems.
Your task is to take these unique text records and add them to your domain’s DNS settings at your registrar. You will log in to your domain registrar’s website, navigate to the DNS management panel, and create new TXT records. You will then carefully copy the values from Mailjet and paste them into the corresponding fields for these new TXT records.
After you have saved these changes, you must return to Mailjet and click a “Verify” or “Check” button. Mailjet’s systems will then scan the public internet to see if you have correctly published the records. When it finds them, the handshake is complete. Your domain is now verified, and you have established yourself as a trusted sender.
Integrating Mailjet SMTP with a WordPress Website
The most effective method to complete your WordPress Mailjet SMTP setup is to use a dedicated plugin like WP Mail SMTP, which provides a secure and easy-to-use interface for routing your website’s emails through Mailjet. By default, WordPress is not an email delivery specialist. It uses a basic, server-level function to send all of its mail, from password resets to contact form notifications. This default method is notoriously unreliable.
Because these emails lack the proper authentication and are often sent from low-reputation shared servers, they are frequently and aggressively filtered by major inbox providers like Gmail and Outlook. This results in your website’s most critical communications being lost in spam folders or, in many cases, not being delivered at all. This is not just an inconvenience; it is a serious operational problem that can damage your user experience and business reputation.
An SMTP plugin is the definitive solution to this problem. It acts as a bridge, completely bypassing the flawed default WordPress mail function. When your website needs to send an email, the plugin intercepts it, establishes a secure and authenticated connection to your Mailjet account, and passes the message to Mailjet’s professional delivery engine. This ensures every email sent from your site benefits from your authenticated domain and Mailjet’s high-reputation servers, guaranteeing the best possible chance of landing in the inbox.
Configuring the WP Mail SMTP Plugin for Mailjet
The process of connecting your WordPress site to Mailjet is made incredibly simple by using a specialized plugin. The most popular and trusted plugin for this task is WP Mail SMTP. One of the great benefits of choosing a well-supported service like Mailjet is that popular plugins often have a dedicated, pre-configured integration specifically for it, which makes the setup process even easier.
The journey begins within your WordPress dashboard. You will start by navigating to the “Add New” plugin screen and searching for “WP Mail SMTP.” Once you find the correct plugin, you will install and activate it. Upon activation, the plugin’s intuitive setup wizard will typically launch to guide you through the configuration.
This wizard will present you with a list of different email service providers, which it calls “mailers.” Your task is to simply select Mailjet from this list of options. Because the plugin has a specific integration for Mailjet, selecting it will automatically pre-fill some of the more technical settings, like the server address and port number. This removes the risk of typos and simplifies the process significantly. You are then presented with a much simpler set of fields, asking only for the specific credentials that are unique to your Mailjet account.
Entering Your Mailjet Keys and Verifying the Connection
This is the final and most important stage of the configuration, where you will use the secret credentials you generated inside your Mailjet account. The SMTP plugin provides a secure and user-friendly interface for these keys, ensuring they are stored safely within your WordPress database.
After selecting Mailjet as your mailer in the setup wizard, you will be presented with fields for your API Key and your Secret Key. You must now retrieve the keys you previously saved. Carefully copy your public Mailjet API Key and paste it into the “API Key” field in the plugin. Next, copy your private Mailjet Secret Key and paste it into the “Secret Key” field. It is crucial that you paste these keys exactly as they appear, with no extra spaces.
Once the keys are entered and the settings are saved, you must verify that the connection is working correctly. All reputable SMTP plugins include a built-in “Email Test” feature. Navigate to this test tab. The plugin will allow you to send a test email from your WordPress site to any email address you choose.
When you trigger the test, the plugin will use your saved keys to connect to Mailjet and send the message. If the setup is correct, you will receive an immediate “Success” message on your screen. The final confirmation is checking your own inbox and seeing the test email arrive. This successful test is your definitive proof that the mailjet smtp setup is complete and all future emails from your website will be sent reliably.
Concluding Summary
Successfully completing your Mailjet SMTP setup is a foundational achievement for ensuring your website communicates professionally and reliably. By leveraging Mailjet’s powerful delivery engine, you have replaced your server’s default, untrustworthy mail function with a system designed for high deliverability. Taking the time to correctly configure your credentials and, most importantly, authenticate your sending domain is a one-time investment that pays lasting dividends in customer trust and operational stability. You are now fully equipped to send all of your website’s critical transactional emails with confidence, knowing they have the best possible chance of reaching the inbox.





