1. Full Screen View on TMail

2. TMail Installation Tutorial

3. Receive emails FASTER!

4. Installation and Quick Overview

5. How to enable Single Item View in AIO Contact?

6. How to add more domains to TMail?

7. How to add a single-line Footer?

8. How to add more languages?

9. How to setup Facebook Messenger Live Chat?

10. How to add Sitemap?

11. How to setup tSMS with Plivo?

12. How to setup CRON to delete emails from server?

13. What are the different layouts possible in AIO Contact?

14. How to use direct DNS Server IP in Global DNS?

15. Getting a 500 Error? Here is what you can do.

16. How to add more ads directly inside files?

17. Fix "405 Method Not Allowed"

18. How to enable Auto Updates on Global DNS?

19. How to add Favicon?

20. CloudFlare 524 Error

21. How to setup server for Global DNS?

22. How to integrate WordPress Blogs?

23. tSMS Installation Tutorial

24. How to setup Live Chat?

1. Full Screen View on TMail

Lot of people requested for a full screen view just like TMail had before v5. So, now finally you can have that in new TMail as well. Below is something you can get from this

Below are the steps to achieve above design:

1. Create a new Page and name it anything you want

2. You don't have to write any content for this as that won't be displayed here

3. Copy paste below code in Custom Header field of the page

.tm-content {
  display: none !important;
.tm-sidebar {
  width: 100% !important;
  max-width: 100% !important;
  flex: 100 !important;
.tm-sidebar > .tm-create {
  margin: 0 auto !important;
  width: 400px !important;
  max-width: 80% !important;
header .tm-logo {
  padding-top: 1em !important;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
header .tm-menu {
  border: none !important;
header .tm-menu a {
  color: #fff !important;
header .tm-menu a:hover {
  color: #eee !important;
@media only screen and (max-width: 1200px) {
  body main .tm-sidebar form,
  body main .tm-sidebar span {
    display: block !important;
  header .tm-logo {
    padding-top: 1.5em !important;
document.addEventListener("DOMContentLoaded", function(){
    document.getElementsByClassName('tm-menu')[0].style.backgroundColor = window.getComputedStyle(document.getElementsByClassName('tm-logo')[0], null).getPropertyValue("background-color")

4. Make this page, your homepage

That's it!

2. TMail Installation Tutorial

PS - Make sure you turn on CC to get textual instructions. 

3. Receive emails FASTER!

You might have heard of AWS SES, MailGun, etc which are systems related to email service and they can also be used for receiving the emails. As you know that TMail requires an IMAP access to fetch emails, but neither AWS nor Mailgun provides an IMAP box.

So, we kept on looking for other providers who can provide that, then we came across a service called Business Email Hosting from

In case if you don't know, they are just like Godaddy & Namecheap but very popular in India.

They are providing a mailbox at a super cheap deal, we thought of buying a mailbox to test how it works with TMail. All TMail needs is 1 mailbox only which cost around Rs.35 (less than 0.5 USD) per month.

It also has a limit of 5 domain alias which mean you can easily set up 6 domains forwarding for your TMail. The Rs.35 plan comes with 5GB of storage which is good enough to start with and later you can upgrade if required.

This idea is not limited to, however, we strongly recommend them because of the speed which they receive the message. Please note that time taken for email to receive is still depended on your email provider.

Go ahead and try this out!

You can create a ticket at to get any help. However, to get the help you need an active support contract, so please renew if you need any help.


4. Installation and Quick Overview

5. How to enable Single Item View in AIO Contact?

6. How to add more domains to TMail?

Here is a tutorial which shows how you can add more domains to TMail. Basic steps are as follows:

1. Add your new domain to cPanel (or any other panel) as Addon or Park / Alias Domain

2. Setup Default Address for that specific domain and forward all mails to same catchall id which you created while setting up TMail.

3. Add your new domain in TMail Admin Panel under Domains.

4. There is no step 4, that's it!

7. How to add a single-line Footer?

Many users have asked to add a footer, so till we work on a permanent and robust solution for this, below is a quick and easy way to add a single-line footer to your site.

Add following code in Custom JS in Admin Panel and make sure you edit line 3 with your text.

let content = document.querySelector('main')
let footer = document.createElement('footer')
footer.innerHTML = 'Copyright © 2020 - TMail'

Add following code in Custom CSS in Admin Panel

footer {
    background: #111;
    color: #fff;
    padding: 10px;
    text-align: center;

8. How to add more languages?

How to add more languages is one of the most requested tutorial. As both tSMS and TMail now share some backend structure, this tutorial will work for both.

So, let's get straight to the point. Follow below steps to add more languages OR if you want to update any language translations :

First step is to add a folder under


You will see few language folders which are already created. Go ahead and create a new folder you want. Keep the folder name short, lowercase and without spaces. We will need to specify this name in another file as well to make it come on the main website.

Copy the files from "en" folder to your new folder and now start editing the files in your new folder with your new language strings.

Once you are done, goto config/app.php file and scroll down till you find below line

'locales' => ['ar', 'de', 'en', 'fr', 'hi', 'pl', 'ru'],

Now, add your new folder name in that array. For example, if your folder name is uk-en then following will be the changed line

'locales' => ['ar', 'de', 'en', 'fr', 'hi', 'pl', 'ru', 'uk-en'],

That's it!

Goto your website and you will see your new language in the language selector dropdown on top right corner :)

9. How to setup Facebook Messenger Live Chat?

The new version of AIO Contact now supports ability to add Messenger Live Chat! There are 2 major parts this can be setup.

- Go to your Page which you want to use for your Live Chat and click on "Settings"

- Click on "Messaging" 

- Scroll down till you find "Add Messenger to your Website" section and click on "Get Started" button 

- Click on "Next" button multiple times till you reach end of the screen

- Add your website address where you're going to add this in "Add Website Domain Name" section and hit "Save" button

- Now visit to get your Page ID and enter that while adding Live Chat Integration in AIO Contact

10. How to add Sitemap?

You can use this tool to generate sitemap

Once you get the file, you can put the file in Root Folder (Ex. public_html) -> public

11. How to setup tSMS with Plivo?

First, you will need to install tSMS on your server. To get some help on that, checkout this article.

Once you are done installing tSMS, you can proceed to watch below video. Below video will provide you detailed steps on how you can use Plivo with tSMS.

12. How to setup CRON to delete emails from server?

Its quite possible that your site becomes famous with TMail running at the backend, so here is a quick way on how you can delete tons of emails, you may be receiving daily. 

Below is the CRON command you can set

wget -O /dev/null -o /dev/null https://[YOUR_SITE_URL]/cron/deletemails?key=[CRON_PASSWORD]

You can set the time based on your need. Below is the description of various possible options

# * * * * *  command to execute 
# │ │ │ │ │ 
# │ │ │ │ │ 
# │ │ │ │ └───── day of week (0 - 6) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0) 
# │ │ │ └────────── month (1 - 12) 
# │ │ └─────────────── day of month (1 - 31) 
# │ └──────────────────── hour (0 - 23) 
# └───────────────────────── min (0 - 59)


If you want to set the emails to be deleted every day, 

0 0 * * * wget -O /dev/null -o /dev/null https://[YOUR_SITE_URL]/cron/deletemails?key=[CRON_PASSWORD]

PS - You can find / set your CRON Password in Admin Panel of your TMail

13. What are the different layouts possible in AIO Contact?

14. How to use direct DNS Server IP in Global DNS?

15. Getting a 500 Error? Here is what you can do.

If you are getting a 500 Server Error, then its very much possible that either your server is not meeting the TMail requirements OR there is some configuration issue. 

Below are the steps you can go through to check:

  1. Contact your hosting provider and ask if they have following extensions installed for you on your server:
    1. PHP >= 7.1.3 
    2. MySQL >= 5.1
    3. BCMath PHP Extension
    4. Ctype PHP Extension
    5. JSON PHP Extension
    6. Mbstring PHP Extension
    7. OpenSSL PHP Extension
    8. PDO PHP Extension
    9. Tokenizer PHP Extension
    10. XML PHP Extension
  2. Incase you are using TMail, then you will need below extensions as well:
    1. IMAP
    2. iconv
  3. Check out the logs located in storage -> logs -> (something).log and see if you can understand what the error is. This will most probably tell you what extensions are not installed properly. 

If your hosting provider comes back saying everything is installed as per the requirement and you are still getting error, check your IMAP email configuration. You can try below steps:

  1. Disable SSL for IMAP from Admin Panel
  2. Check with your hosting provider what is the hostname to connect (IMAP Hostname)

If none of the above solutions are working for you, please go ahead and create a ticket with all the details you have. Don't forget to keep the ticket private incase you have some sensitive information (like Passwords, etc).

16. How to add more ads directly inside files?

With v5.4, TMail has more ad spaces.

Below is a short preview of how many and where exactly are the Ad Spaces are located in TMail:

If you still wish to add more ads, you will need to edit following files based on where you want to add ads:

1. resources/views/layout.blade.php - Global Layout

2. resources/views/page.blade.php - Page Layout

3. resources/views/app.blade.php - App Layout

You will need to have basic knowledge of HTML / PHP to understand how to add the ads code.

However, at every update, you may need to do this again since you're editing the core files.

17. Fix "405 Method Not Allowed"

If you're getting this error in your Global DNS, then just check if you're using right Longitude and Latitude values.

Here are the minimum and maximum values for them

Longitude: -180 to +180
Latitude: -90 to +90

If your values are within the range and you're still getting error, please create a ticket and we will get this sorted out ASAP!


18. How to enable Auto Updates on Global DNS?

We're going to use a Envato Market Plugin created by Envato team which allows you to automatically install updates for Global DNS from your Dashboard itself. Let's break the steps into 2 major parts, first will be the process on how to download the install the Envato Market Plugin and next will be how to connect the plugin with your purchase of Global DNS.

How to Install Envato Market Plugin

To install Envato Market Plugin, please follow the steps as below:

  1. Firstly, you need to download the plugin into your computer. Please direct to Envato GitHub and click on Download.Zip button to get it.
  2. Now, in your Admin Panel, go to Plugins > Add New and click on Upload Plugin then navigate to file that you downloaded from Github, choose Install Now to install it.
  3. After that, click Activate Plugin link to activate the plugin in your site.

How to create API Token

To create the API Token, please follow steps as below:

  1. Generate an Envato API Personal Token by clicking this link.
  2. Name the token eg. “My WordPress site”.
  3. Ensure the following permissions are enabled:
    • View and search Envato sites
    • Download your purchased items
    • List purchases you've made
  4. Copy the token and head back to your WordPress Site.
  5. Goto Dashboard -> Envato Market -> Settings (tab) -> Paste the token copied in previous step in the box shown.
  6. Click the "Save Changes" button.
  7. You will now see Global DNS in that list.

Now, whenever a new plugin is released, you will automatically get an update in the Dashboard. Please note, that there can be a delay of around 6-8 hrs between a plugin release and update to be available in your dashboard.

Incase if you're facing any trouble, please don't hesitate to contact our support by creating a ticket.

19. How to add Favicon?

Upload your icon in public folder of your website and make sure you're able to access that favicon via https://yourwebsite/favicon.[png/jpg]

Once you see your favicon getting loaded in above URL, use below code and put that URL instead of [YOUR_FAVICON_URL] withj [EXT] as PNG or JPG depending upon extension of your image file.

<link rel="icon" href="[YOUR_FAVICON_URL]" type="image/[EXT]">

20. CloudFlare 524 Error

Since you're on this page, it looks like either you're just browsing through our articles or frustrated with the CloudFlare error on TMail. Don't worry, we got a solution for you and it's way simpler that you can think.

Reason why you face this error is when you put your website address as the IMAP host, your server has to route the IMAP request through CloudFlare for no reason. CloudFlare is technology which should be used between your end-user and your server, but using IMAP host as your website address, does something like this: Server -> CloudFlare -> Server

This is absolutely unnecessary. 

There is a very simple fix for this, just replace the IMAP host with your actual server hostname. In case if you're not sure what is your server hostname, just ask your hosting provider, they will easily help you out.

That's it! Problem solved!

In rare case, if you're still having trouble, simply created a ticket and our agents will get back to you ASAP!

21. How to setup server for Global DNS?

Setting up a server for Global DNS is a 3 step process.

Step 1: Get the files for server

Step 2: Put the files on server

Step 3: Add server details on your site.

Keep on repeating all above steps for each server that you add.

Step 1

You have to visit this website here and follow below process:

  1. First field takes the purchase code you received from CodeCanyon after buying Global DNS

    1. If you're using WordPress, put the secret in second field which you generated while setting up Global DNS. You can find this key in WP Dashborad -> Global DNS -> Settings
    2. If you're using PHP Script, just type "NOSECRET" in second field.
  2. Next field will take the server url, where you will put the server files. 
  3. If you are have a website hosted on above site, you can tick the last checkbox. Incase if that's a blank website, don't check it.

Finally, you click on "Download File" button, this will prompt you to download a and also system will provide you a URL at the top, don't forget to copy that URL.

Step 2

You will have to login to your server via FTP or cPanel -> File Manager. Upload the zip file in public_html or similar folder. And make sure you delete the zip file after extracting it.

Step 3

Now, goto your WordPress or Global DNS Standalone site where you had installed Global DNS and goto Server section. Put appropriate details and URL as the one which you copied in Step 1. 

And that's it! You can also refer to the video below which shows how to create a server for Global DNS.

22. How to integrate WordPress Blogs?

From TMail v5.2 & tSMS v1.2, you can integrate your WordPress Blogs! You can either show blogs right on the homepage using the short-code OR you can create a new page and put the short-code to show the blogs.


Here is the short-code to show your WordPress Blogs on TMail: 

[blogs url=""]


Below are all parameters details


URL of your WordPress Blog from which you want to show blog post

This is the only REQUIRED parameter. 

context Scope under which the request is made; determines fields present in response.

Default: view

One of: viewembededit

page Current page of the collection.

Default: 1

per_page Maximum number of items to be returned in result set.

Default: 10

search Limit results to those matching a string.
after Limit response to posts published after a given ISO8601 compliant date.
author Limit result set to posts assigned to specific authors.
author_exclude Ensure result set excludes posts assigned to specific authors.
before Limit response to posts published before a given ISO8601 compliant date.
exclude Ensure result set excludes specific IDs.
include Limit result set to specific IDs.
offset Offset the result set by a specific number of items.
order Order sort attribute ascending or descending.

Default: desc

One of: ascdesc

orderby Sort collection by object attribute.

Default: date

One of: authordateidincludemodifiedparentrelevancesluginclude_slugstitle

slug Limit result set to posts with one or more specific slugs.
status Limit result set to posts assigned one or more statuses.

Default: publish

categories Limit result set to all items that have the specified term assigned in the categories taxonomy.
categories_exclude Limit result set to all items except those that have the specified term assigned in the categories taxonomy.
tags Limit result set to all items that have the specified term assigned in the tags taxonomy.
tags_exclude Limit result set to all items except those that have the specified term assigned in the tags taxonomy.
sticky Limit result set to items that are sticky.


Note: TMail short-code uses WP JSON API for extracting blogs from your WordPress site.

23. tSMS Installation Tutorial

24. How to setup Live Chat?

Follow below steps to setup Live Chat on your website running AIO Contact

- Login to your Dashboard

- Click on the "Settings" icon at the left-bottom corner of the screen

- Click on "Overview" and copy the "Property ID"

- Paste that code as Widget ID when adding Live Chat Integration in AIO Contact