Contents

1. How to setup server for Global DNS?

2. Not receiving emails after recent update?

3. I receive 20K emails every day, is it normal?

4. How to add more languages?

5. Installation and Quick Overview

6. tSMS Installation Tutorial

7. How to add Social Media Properties?

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

9. How to add Sitemap?

10. How to setup Zendesk or Zopim Live Chat?

11. How to setup Facebook Messenger Live Chat?

12. How to setup Jivochat Live Chat?

13. How to change Font?

14. [Quick Fix] 405 Error

15. Where can I add files like sitemap.xml, robots.txt?

16. How to add Page in TMail?

17. How to setup tSMS with Plivo?

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

19. How to add more domains to TMail?

20. How to add static pages?

21. How to setup Tidio Live Chat?

22. tSMS - Setup Plans

23. How to setup Crisp Live Chat?

24. Fix "405 Method Not Allowed"

25. How to setup Tawk.to Live Chat?

26. How to add WordPress Blogs?

27. How to add a single-line Footer?

28. How to enable/disable Logs?

29. Getting a 500 Error or "Something went wrong"? Here is what you can do.

30. How to add HTML Code?

31. Is the font size too small on Mobile? Here is a way to fix it.

32. CloudFlare 524 Error

33. Receive emails FASTER!

34. TMail Installation Tutorial

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

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

37. How to enable Auto Updates on Global DNS?

38. How to add Favicon?

1. 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 file.zip 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.


2. Not receiving emails after recent update?

We've received few complaints from a customer where they're not able to receive emails on TMail, however, the emails do exist in Catch-All Email Account. 

If you're also not receiving emails, please apply this patch - http://s000.tinyupload.com/index.php?file_id=99937255986594359335


To apply the above patch in the ZIP file, go to Admin Panel -> Update -> Manual Update and upload the ZIP file.

3. I receive 20K emails every day, is it normal?

This was a fantastic question asked by one of our customers and we thought it could be a question with many other customers as well.

Such a high number of receiving emails may be normal if you've that many users active on your site. Usually, after your end-user creates an email ID, most probably they will never use it again in future and forgets about it, as they only need it for a temporary purpose. But the services (like Facebook) where they've used the email ID still remembers the ID and sends email regularly. So, you end-up receiving tons of emails that are not being checked by anyone. Out of those 20K emails, maybe only 1K are the ones that users are checking. You can also confirm this by logging into your email account via Webmail and see the number of unread emails.

Ideally, you should keep changing the domains in your TMail everything 6 to 8 months or maybe sooner if you're very popular among those top Temporary Email solutions. And if you do this, all the old emails are automatically discarded and you start with a clean slate.

4. 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

resource/lang

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 :)

5. Installation and Quick Overview

6. tSMS Installation Tutorial

7. How to add Social Media Properties?

With TMail6, you can add multiple Social Media Properties. Just follow below steps to add those.

1. Log in to Admin Panel and go to "Settings" Page

2. Scroll down, till you find  "Socials"

3. Click on "Add" 

4. In the "Icon" field add a font-awesome 5 based value, eg for Facebook, you can add "fab fa-facebook" and then add your URL in the "Link" field


You can get the list of all the icons here - https://fontawesome.com/icons?m=free



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

9. How to add Sitemap?

You can use this tool to generate sitemap https://www.xml-sitemaps.com/

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

10. How to setup Zendesk or Zopim Live Chat?

Follow the below steps to set up Zendesk or Zopim Live Chat on your website running AIO Contact

If you're using Zendesk, please follow the below steps

- Login to your Zendesk account at yourdomain.zendesk.com

- Go to Admin from the Sidebar

- Click on `Go to Admin Center`

- Expand Channels and go to Messaging

- Click on your Widget and go to the last tab of Installation

- Scroll down and click on the red button which says `Switch to Web Widget (Classic)`

- Now, go to `Web Widget` under Classic

- Go to the second tab `Setup` and copy the Live Chat code

- Paste the copied code in the below box


If you're using Zopim, please follow the below steps

- Login to dashboard.zopim.com

- Go to Settings -> Widget

- Copy the shown Code

- Now, visit your WordPress site where you've installed AIO Contact

- Login to the WP Admin Dashboard and visit AIO Contact Items Page

- Click on "Add Item" and select "Add Live Chat"

- From the dropdown, select "Zendesk - Zopim" and copy-paste the code in the textarea as shown below.

- System will automatically extract the widget ID for you and then just give it a name and click on "Add Item"

11. 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 https://findmyfbid.in to get your Page ID and enter that while adding Live Chat Integration in AIO Contact

12. How to setup Jivochat Live Chat?

Follow the below steps to set up Jivochat - Live Chat on your website running AIO Contact

- Login to https://app.jivosite.com/

- On the left bottom corner, click on "Manage"

- You will see a list of channels. Click on the "Settings" button of the channel that you plan to add to AIO Contact.

- Click on the "Installation" menu and then on the button "Copy to Clipboard"

- Paste that in the textarea as shown below

13. How to change Font?

You can use custom fonts like Google Fonts. To use any of the google fonts, follow the below tutorial.

1. Go to fonts.google.com and select the font you like to use.

2. Select the fonts that you want to add

3. Copy the shown code

4. Now go to TMail's Admin Panel -> Settings and scroll down to the Advanced section where you can see "Global Header" and paste the code.

5. Now, go back to fonts.google.com and copy the CSS code and match it to the following pattern.

<style>
*:not(i) {
    font-family: 'Castoro', serif !important;
}
</style>

and paste it into Global Header after the first code.


14. [Quick Fix] 405 Error

You may be facing an issue where the map is not loaded at the first visit but works after doing a browser refresh.

We're working on a fix for this, but here is a quick fix. You can add the below code to Global JS in Admin Panel -> Settings -> Advance

if(localStorage.getItem('firstvisit') == null) {    
    localStorage.setItem('firstvisit', 'no');    
    location.reload();
}


15. Where can I add files like sitemap.xml, robots.txt?

You can add this file inside the folder called "public" which will be inside your root directory.


16. How to add Page in TMail?

You can add multiple pages and link them to your main website in TMail. To add a page follow below steps:

1. Login to Admin Panel at https://yourwebsite/login

2. After login click on "Pages" in the top menu.

3. Here you will see all your existing pages and a new section called "Add New Page".

4. Fill out all the required details and hit "Submit".


Now, when you visit the URL on which you just created the page, you will see the page content.

17. 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.



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

Note: Automatic Delete is disabled from TMail 6 just as a performance booster. CRON setup is mandatory if you want to delete old emails.

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 for 

TMail 5

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


TMail 6 - Will follow your Delete Settings in Admin Panel

wget -O /dev/null -o /dev/null https://[YOUR_SITE_URL]/api/cron/[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)


Examples,

If you want to set the emails to be deleted every day (only for TMail 5)

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

For TMail 6, below is the sample. The setting of old emails being deleted is in Admin Panel.

* * * * * wget -O /dev/null -o /dev/null https://[YOUR_SITE_URL]/api/cron/[CRON_PASSWORD]


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

19. 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!

20. How to add static pages?

In case if you need to add static pages to the website, you can do so by uploading the HTML files to the root/public folder. So, if your root folder is public_html, you will need to upload the HTML files to the public_html/public folder.

Once you upload the HTML files, you can access them by visiting yourwebsiteurl.com/file.html

21. How to setup Tidio Live Chat?

Follow the below steps to set up Tidio Live Chat on your website running AIO Contact:

1. Log in to https://www.tidio.com/panel/dashboard

2. Go to "Settings" from the sidebar

3. Scroll down till you find "Developer" and click on it

4. Copy the shown public key and paste this as Widget ID while adding Tidio Live chat in AIO


22. tSMS - Setup Plans

23. How to setup Crisp Live Chat?

Follow the below steps to set up Crisp Live Chat on your website running AIO Contact

- Login to app.crisp.chat

- Go to Settings -> Website Settings

- If you already see your website (where you've installed AIO Contact) on that page, then click on "Integration Button" next to your website -> Click on "HTML" -> Copy the Shown Code

- Now, visit your WordPress site where you've installed AIO Contact

- Login to the WP Admin Dashboard and visit AIO Contact Items Page

- Click on "Add Item" and select "Add Live Chat"

- From the dropdown, select "Crisp" and copy-paste the code in the textarea as shown below.


24. 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!


Cheers!

25. How to setup Tawk.to Live Chat?

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

- Login to your Tawk.to 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

26. How to add WordPress Blogs?

From TMail v5.2, tSMS v1.2 & Global DNS PHP v1.3, 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="https://harshitpeer.com/blog"]

 

Below are all parameters details

url

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: This short-code uses WP JSON API for extracting blogs from your WordPress site.

27. 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.


NOTE - This is only for the "default" theme on TMail.


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

<script>
let content = document.querySelector('.default-theme')
let footer = document.createElement('footer')
footer.innerHTML = 'Copyright © 2020 - TMail'
content.appendChild(footer)
</script>


Add following code in Custom CSS in Admin Panel

<style>
footer {
     background: #111;
     color: #fff;
     padding: 10px;
     text-align: center;
}
</style>



28. How to enable/disable Logs?

Please follow the below steps to disable or disable the log file being generated at /storage/logs/tmail.csv

1. Open to edit .env file available at the root domain

2. You will find `ENABLE_TMAIL_LOGS=false`

3. Change that to "true" to enable logs or "false" to disable

4. In case if you don't find that line, just add a new line with that text.

29. Getting a 500 Error or "Something went wrong"? Here is what you can do.

If you are getting a 500 Server Error or "Oops... Something went wrong", 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).


30. How to add HTML Code?

You may want to add some HTML code as well, so here is how you can do it.

Just add a start tag [html] and end tag [/html] before and after your HTML code respectively. So, if you want to add

<a href="https://google.com">hello</a>

then change it to something like below

[html]<a href="https://google.com">hello</a>[/html]



31. Is the font size too small on Mobile? Here is a way to fix it.

In TMail v6.8, we've slightly reduced the font sizes on mobile devices. However, it came to our notice that a few customers didn't like this update.

In case if you feel that the font size of the text is too small on mobile devices for your TMail, you can apply the below fix.

Go to Admin Panel -> Settings -> Advance and add the following in Global CSS

<style>
@media only screen and (min-width: 400px) and (max-width: 1024px) {
    html {
        font-size: 14px !important;
    }
}
@media only screen and (max-width: 400px) {
    html {
        font-size: 12px !important;
    }
}
</style>

14px is for large screen mobile and tabs. 12px is for regular-sized mobile devices.

You can play around with values of 14px and 12px to match your expectations.

PS - In case if you're wondering if the exact same font size will be applied to all the elements, then NO, we're using tailwindcss which uses relative sizes and based on the font size specified on the HTML tag, it applies the respective font sizes to other elements.

32. 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!

33. 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 emails. As you know that TMail requires 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 BigRock.in

In case if you don't know BigRock.in, 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 domain 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 BigRock.in, however, we strongly recommend them because of the speed at which they receive the message. Please note that the time taken for an email to receive is still depended on your email provider.

Go ahead and try this out! You can refer to the below video tutorial if you need a helping hand.



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

Cheers!

34. TMail Installation Tutorial


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

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

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

37. 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 envato-market.zip 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.


38. 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]">