How email works: incoming, outgoing and DNS

Once you know where your email travels, you’ll see why each DNS record is needed, and fix mail that doesn’t arrive or lands in spam faster.

ReceiveIncomingSendOutgoingOutside senderGmail, Outlook…1Mail gatewaymx.thailandhosting.com2Mail serverYours3Read mailWebmail · appsWrite mailApps · your code45Send outDKIM-signed · quota6Outside recipientTheir inboxYour domain’s DNSMX = mail comes to us · SPF, DKIM, DMARC = receivers trust it · TXT = proves ownership
Incoming mail (1–3) depends on your domain’s MX. Outgoing mail (4–6) depends on SPF, DKIM and DMARC. If your DNS is incomplete, mail won’t arrive, or it lands in the recipient’s spam folder.

Step by step, following the numbers

  1. The sender’s server looks up your domain’s MX and sends the message to mx.thailandhosting.com.
  2. The message goes into a mailbox on your mail server. Mail is only accepted once your domain is verified.
  3. Read mail in Webmail or a mail app over IMAP (imap.thailandhosting.com). Messages and folders match on every device.
  4. Your mail app or your systems (a website form, a printer) send through smtp.thailandhosting.com on port 465 or 587, with the mailbox’s username and password.
  5. Mail goes out with a DKIM signature and counts toward the month’s sending quota. Mail to domains we host doesn’t count.
  6. The receiving server checks your domain’s SPF, DKIM and DMARC. When all three pass, the chance of landing in spam drops a lot.

If something’s wrong, which step to check

ProblemStepsWhat to check
No mail coming in1–2MX points to mx.thailandhosting.com with no old MX left, and the domain is verified (Set up DNS)
A mail app can’t sign in3–4The username is the full email address, and the port matches the encryption (Set up mail apps)
Mail stuck and not going out5The month’s sending quota is used up and extra sending is off (Plans)
Recipients get it, but in spam6SPF, DKIM and DMARC show as passing on the Domains & DNS tab

Moving from another provider? Create all your mailboxes first, then switch the MX to ours and delete the old MX. While the DNS change spreads, some mail may still go to the old place.

Still stuck? Let our team help

Open a ticket from the Console. Tell us the site or service, what you did and the message on screen. Our reply comes back in the same ticket, so everything stays in one place.