•  · 36 friends

MailJet Setup Tutorial

We have all seen those posts regarding emails not getting sent or going to spam folders. Well, there are 2 ways you can resolve but most people are not aware on how to setup reverse DNS settings with a PTR record so, thanks to Baloo for mentioning MailJet for using with your SMTP module in UNA. To me, MailJet is one of the most affordable and easy setups I have seen yet so, I figured I would give a helping hand on setting it up. 

So here is what you need to do:

  1. Make sure you have installed the latest version of the SMTP module for UNA if you haven't already. You can do a search for SMTP in your Studio > Apps Market. 
  2. Go to https://www.mailjet.com/ and click the "Sign Up for Free" button. Enter you email address and password to setup the account. 
  3. During the setup, it is going to ask you what "type" of setup you want. Make sure you choose the "Developer" and "SMTP Relay" options. This is all you will need from them since you will be using them for just a SMTP service and IF you want to send "marketing" emails to all your members, I would suggest installing Mass Mailer module and using that instead. 
  4. Once you have completed the account setup, you will be given 3 important things you will need for your SMTP module at your UNA site.
  • USERNAME (API KEY): Which is the SMTP username in UNA
  • PASSWORD (SECRET KEY):Which is the SMTP Password in UNA
  • SMTP SERVER: Which is the SMTP server name in UNA. 

By default, your account will be set to a FREE account which allows 3,000 emails per month but, limited to 200 per day. If you have a lot of activity on your website, I would suggest upgrading that to the Bronze package which give you 30,000 emails a month with no daily limits. I prefer to pay monthly and it's $9.65/month

In UNA - Go into the SMTP module and do the following:

Put a checkmark in Enable SMTP mailer and SMTP authentication (Is your SMTP server requires username and password?)

Using the 3 pieces of important info from above, enter the values you have into the fields to match. I would suggest using Port 587 and change the secure connection to TLS. See below:

image_transcoder.php?o=bx_froala_image&h=2518&dpx=1&t=1574544246

You can also update the "From" field in SMTP with that you want. From here, you can click "Test" on the left side menu in the SMTP module. You can test to make sure you have everything setup properly. Enjoy! 😎 

3 0 1 0 0 0
  • 976
Replies (41)
  • Awesome! thank you for doing this.

    0 0 0 0 0 0
    • You're very welcome

      0 0 0 0 0 0
      • It is asking if I want to send transactional SMS. Should I leave just checked yes? See screenshot.

        0 0 0 0 0 0
        • You will not be using that. So check NO on that one. 

          0 0 0 0 0 0
          • The last box asks ‘override default sender email address”. Do we put anything in that box?

            0 0 0 0 0 0
            • No sir, you can leave that blank unless you want to show the from email address something different than what you are using from your site. I wouldn't recommend that. 

              0 0 0 0 0 0
              • Thank u Chris , good to know.

                0 0 0 0 0 0
                • Works great! Thank you so much my friend!

                  0 0 0 0 0 0
                  • You're welcome!

                    0 0 0 0 0 0
                    • To do it well there are two important steps that I mention here to complete Chris's information. To do so, go to "my account".

                      image_transcoder.php?o=bx_froala_image&h=2519&dpx=1&t=15745489961. Is about security, you need to validate your domain name AND your sending email addresses. If you do not do this, you will receive a notification that an unvalidated email address is trying to send email.

                      image_transcoder.php?o=bx_froala_image&h=2520&dpx=1&t=1574549018

                      2. Not required but recommended.

                      To improve your sender reputation and deliverability, we strongly recommend that you set up a few DNS records.
                      This will allow us to sign outgoing email using DKIM and DomainKeys, and will inform your contacts' email providers that we are allowed to send your emails

                      image_transcoder.php?o=bx_froala_image&h=2521&dpx=1&t=1574549166

                      0 0 0 0 0 0
                      • I received the email you mentioned. I have authenticated my email address.

                        0 0 0 0 0 0
                        • If I already have an email account set up with GoDaddy through my domain name, do I even need to use this service?

                          0 0 0 0 0 0
                          • Yes, it's intuitive in fact, I find the package well tied, and I repeat, very frankly, if you have questions, they are not at all stingy with the answers, which is not negligible. Andrew Boon case everyone is satisfied, they have an API, the campaign e-mail creation interface is very powerful in addition they also have an SMS service, it can give ideas ;-) https://dev.mailjet.com/

                            0 0 0 0 0 0
                            • When I did the test email, it automatically added my "sender" and marked it active. I attempted to verify my domain but I tried both adding the file to my site and the DNS record and each time it said it couldn't find it. Not sure why but I didn't do the domain verification part. I will try your #2 in a moment. 

                              0 0 0 0 0 0
                              • Yes, mine are at OVH. It does not change anything, it's just the mass sending service.

                                0 0 0 0 0 0
                                • Thanks Chris - I've featured this post. Hey Andrew Boon wouldn't it be cool if we could just grab this post and embed it directly into our UNA Instructional Wiki? ;) 

                                  0 0 0 0 0 0
                                  • Thanks 🤗

                                    0 0 0 0 0 0
                                    • another great one Chris 😂 👍 

                                      0 0 0 0 0 0
                                      • Chris i assume i choose what is shown in the attached picture?

                                        0 0 0 0 0 0
                                        • Also i have SSL, so on this field should i put "SSL" or "TLS?"

                                          Is your SMTP server requires secure connection

                                          0 0 0 0 0 0
                                          • Yes,  SMTP Relay as mentioned above. 

                                            0 0 0 0 0 0
                                            • TLS is what's used to securely connect to Mailjet via the port number.  It doesn't have anything to do with your site using SSL.

                                              0 0 0 0 0 0
                                              • Thanks bro!

                                                0 0 0 0 0 0
                                                • Ok, cool

                                                  0 0 0 0 0 0
                                                  • I signed up for mailjet and it works great. It’s been a week and no emails have gone to spam.

                                                    0 0 0 0 0 0
                                                    • Not in need of it Chris but thanks for sharing with the community

                                                      0 0 0 0 0 0
                                                      • You're welcome Jeremy 

                                                        0 0 0 0 0 0
                                                        • image_transcoder.php?o=bx_froala_image&h=3374&dpx=1&t=1586658378


                                                          Hi! I did all of that and I'm getting a softbounce? also I confirmed my main email already or I couldn't be in mailjet like this so hmmmmm ???

                                                          0 0 0 0 0 0
                                                          • is mailjet also a way I can get a professional email address like support @ mywebsite.com? I see they raised their prices

                                                            0 0 0 0 0 0
                                                            • Hey Mergedia - This tutorial was intended for those who have their own Dedicated/VPS server with direct access to the server's configuration via Plesk, cPanel, etc. This is to help email notifications from going to spam or getting blocked by email providers. 

                                                              Going by your screenshot, I see you are using a Yahoo email address and not an email address such as admin@mysite.com.. If you are on a cloud hosting, you do not have the ability to create an email address like support@mywebsite.com since that is also configured on the server side and you would need to have direct access to your server as mentioned above. 

                                                              Also being on cloud hosting, you really do not have any control of how emails are getting delivered. In this case, there are 2 parties involved in getting your emails delivered. 1 - your host and 2 - Yahoo. I have never tried to setup any type of personal email addresses with MailJet so, I am not sure if using this will help you at all. 

                                                              In the other topic, you mentioned cloud hosting so, did you purchase that from here at UNA? If so, they can help you with any of the cron jobs, etc. You can see if your cron jobs are working by going into the Studio > Dashboard > click the drop down arrow next to Host Tools and do a Server Audit. Scroll down to the Site Setup area and you will see the cron job command there and the last execution time. Hopefully that last execution will be a recent time. If you need additional assistance, you will need to contact UNA support directly. 


                                                              0 0 0 0 0 0
                                                              • Hi Chris and Jeremy Crisp thanks so much for your help!

                                                                Yes I bought Una's cloud hosting so I don't have my own server.

                                                                I did verify my emails and the mailjet solution still isn't working for me.

                                                                I did as you said and found the cron jobs in the dashboard (I am not a coder so all this is very hard for me)

                                                                it says 

                                                                Cron jobs  - 

                                                                no crontab for www-data

                                                                so apparently I need to contact support! I did so already for another issue and I have an upcoming call with I think, Matt

                                                                I did not know how to set up cron jobs and i did not do so.


                                                                is there a step by step guide to all the set up operations needed and how to do them, to make the site work?  

                                                                Should I now try to delete the SMTP module since I am in UNA's cloud hosting? I don't know how to delete modules lol.

                                                                Thanks!!

                                                                Sydney

                                                                0 0 0 0 0 0
                                                                • Apologies I think i see it here, just been swimming in the site and I dont know how to swim... I contacted support and will go through this piece by piece :)


                                                                  https://una.io/page/Start-Guide-Setup

                                                                  0 0 0 0 0 0
                                                                  • Now worries at all. That is what we're here for. If you need to uninstall ANY modules you first need to disable them, then you can uninstall them. Here is how you do it.. For the SMTP module:

                                                                    Go into Studio > and click SMTP Mailer module.. You will see a Gear icon towards the top right. Clicking that will give you the ability to disable/enable modules (See below)

                                                                    image_transcoder.php?o=bx_froala_image&h=3378&dpx=1&t=1586726619

                                                                    Switch the Active button to the off position. You will see everything go blank then. To uninstall this module (or any module in UNA), go back to your Studio page. Click the magic wand towards the top right. This will activate the ability to uninstall any modules you have disabled. See below:

                                                                    Once the magic wand has been clicked, any disabled modules will have a X on them. Click that X and choose uninstall.


                                                                    image_transcoder.php?o=bx_froala_image&h=3379&dpx=1&t=1586726838 

                                                                    0 0 0 0 0 0
                                                                    • Cron jobs should have been setup at the time of installation so yeah, may need them to check it. And your call is probably with Mark P 😁 

                                                                      0 0 0 0 0 0
                                                                      • 😀 😀 😀  THANK YOU!!!!!!!!!!!!!!!  WOW! I got it deleted and deleted Wiki too (just too much for me for now) something I was trying to do yesterday!  

                                                                        I learned something YAyyyyy! Every time I learn something I feel excited like I'm getting closer and closer to my dream site!!!!!!! 

                                                                        Thanks so much! Yes it is Mark P! lol. I will ask him about the Cron jobs. I also have a Matt emailing me in discussions so i got confused. I'm chipping at this slowly, as I'm quite easily overwhelmed and confused here lol. But I might be a script wanna-be baby not even kiddie newbie lol, so far from hacker status you could call my brain an eyedropper compared to an ocean, but I'm glad that so far though I am struggling, that this site is slowly getting figured out to someone like me.

                                                                        Thanks! 😀

                                                                        0 0 0 0 0 0
                                                                        • You ARE getting closer to your dream site.. you just may not "think" you are at the moment. For someone new, UNA can seem somewhat overwhelming at first until you get to know it.. Venture around in your Studio, take note of what you see, remember where you saw it.. It will be the Studio that will help you build your dream site in the end. 

                                                                          0 0 0 0 0 0
                                                                          • THANK YOU!!!!!!!!!!!!!!!!! I SO needed that encouragement right now! ok I'm normal lol, not super dumb. lol

                                                                            0 0 0 0 0 0
                                                                            • I'm already using Mailjet but I get an Error message when trying to set up SPF and DKIM in Google Domains (my domain host).  Please help. 

                                                                              0 0 0 0 0 0
                                                                              • What is the error? I know that sometimes it can take a while to verify the changes you made based of your domain's TTL settings. So even thought you did the right then, it make take a while to get verified.

                                                                                0 0 0 0 0 0
                                                                                • Thanks, I guess I'll have to wait 48 hours to check again. The error from Mailjet before I did the last changes was "We detected that your domain has an existing SPF record but it does not allow us yet."

                                                                                  0 0 0 0 0 0
                                                                                  • Great Tutorial Chris & Baloo! Much appreciated! 😉 


                                                                                    0 0 0 0 0 0
                                                                                    Not logged in users can't 'Comments Post'.
                                                                                    14
                                                                                    1
                                                                                    1
                                                                                    1
                                                                                    1
                                                                                    Added:
                                                                                    Category:

                                                                                    UNA - Social Media Software Framework

                                                                                    Close