Joomla is not sending emails – how to find the cause
Someone fills in your contact form, but nothing reaches you. A new user waits in vain for their activation link. Or the email does arrive, but lands in the spam folder. It is annoying, because you often only notice when someone complains.
Usually it comes down to one of a few causes. I go through them here in the order in which I check them myself.
1. Is sending switched on at all?
Sounds trivial, but it happens, for example after moving to a new host or when someone switched sending off on a test copy.
In the backend, open System → Global Configuration, tab Server, section Mail. Send Mail must be set to Yes.
2. Does sending work in principle?
In the same section there is a Send Test Mail button. Joomla then sends a message to the address entered as From Email.
- The test mail arrives: Sending as such works. Continue with step 4.
- Joomla reports an error: The message usually tells you a lot already, such as wrong login details or a server that does not respond. Continue with step 3.
- No error message, but no mail either: Joomla handed the message over, but it got lost on the way. This often happens with PHP Mail. Continue with steps 3 and 4.
3. Choose the right way to send
Under Mailer there are three options: PHP Mail, Sendmail and SMTP.
PHP Mail is the default and works with some hosts without any further effort. Many hosts throttle or block this route, though, and large mailbox providers quickly treat such mails as suspicious.
SMTP through a real mailbox on your domain is almost always more reliable. You get the details from your mail provider:
- SMTP Host and SMTP Port, for example port 465 or 587
- SMTP Security: SSL/TLS for port 465, STARTTLS for port 587
- SMTP Authentication: usually Username and Password. With Microsoft 365 or Google, OAuth 2.0 may be required.
- SMTP Username and SMTP Password of the mailbox
Important: the From Email should match this mailbox. Many servers reject mails whose sender does not belong to the account that is logged in.
Then click Send Test Mail again.
4. The mail arrives, but in the spam folder
Then, as far as the recipient can tell, your domain is probably not really allowed to send. The large providers check three entries in your domain's DNS:
- SPF defines which servers may send for your domain.
- DKIM is a digital signature on every mail.
- DMARC tells the recipient what to do with mails that fail the first two checks.
If one of them is missing or does not match the server Joomla sends through, mails end up in spam or are rejected. These entries are set by your domain or mail provider. Tell them which server your website sends through.
5. Only certain mails are missing
If test mails arrive but, say, messages from a form do not, it is usually down to the extension that triggers the mail. Check its settings, especially recipient and sender. Some forms use the visitor's address as the sender. Many mail servers reject that.
You can find the text of Joomla's own mails, for example for registration or a forgotten password, under System → Mail Templates.
The real problem: you cannot see anything
Joomla keeps no record of which mails it has sent. When a customer says “I didn't get anything”, you cannot check whether the mail ever went out.
That is exactly why I developed Mail Log. It records every mail your website sends, with recipient, subject, time and status. For errors, the exact message from the mail server is included, and you can resend a lost mail with one click. Mail Log also checks SPF, DKIM, DMARC and MX for your domain and shows the result as a traffic light.
The Free version costs nothing and has no time limit. The Pro version retries failed mails automatically and evaluates bounces.
This article is also available in German.

Related extension
A question about this topic, or an idea for the next guide? Write to me.
Norbert Graup
One membership: all Pro versions, updates and personal support.














