How to debug SMTP mail in Joomla 3: Difference between revisions
From Joomla! Documentation
Tutorial how to debug SMTP mail connection in Joomla at protocol level. |
Some markup changes. |
||
| Line 1: | Line 1: | ||
Go to Extensions | Go to {{rarr|Administrator,Extensions,Plugins}} and configure the plugin ''System - Debug'' with the following settings: | ||
*Allowed Groups: Super Users | *Allowed Groups: Super Users | ||
| Line 6: | Line 6: | ||
*Log Almost Everything | *Log Almost Everything | ||
Go to Global Configuration | Go to {{rarr|Administrator,System,Global Configuration,System tab}} and set ''Debug System'' to Yes. | ||
Then go to {{rarr|Administrator,System,Global Configuration,Server tab,Mail Settings}}. | |||
Click the button ''Send Test Mail''. | |||
If the send function reports an error, you will find the details of the SMTP connection requests from Joomla and responses from the mail server, including the error codes, in the log file, usually ''administrator/logs/everything.php''. If the website was updated from Joomla 2.5, the log file is ''logs/everything.php'' at the top level of the Joomla folder. | |||
<noinclude>[[Category:FAQ]]</noinclude> | <noinclude>[[Category:FAQ]]</noinclude> | ||
<noinclude>[[Category:Debugging]]</noinclude> | <noinclude>[[Category:Debugging]]</noinclude> | ||
Latest revision as of 21:36, 26 September 2022
Go to Administrator → Extensions → Plugins and configure the plugin System - Debug with the following settings:
- Allowed Groups: Super Users
- Log Priorities: All
- Log Categories: mail
- Log Almost Everything
Go to Administrator → System → Global Configuration → System tab and set Debug System to Yes.
Then go to Administrator → System → Global Configuration → Server tab → Mail Settings.
Click the button Send Test Mail.
If the send function reports an error, you will find the details of the SMTP connection requests from Joomla and responses from the mail server, including the error codes, in the log file, usually administrator/logs/everything.php. If the website was updated from Joomla 2.5, the log file is logs/everything.php at the top level of the Joomla folder.