Advertisement

SMTP Error with same domain Topic is solved

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
philblk
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Nov 06, 2024 1:30 pm

SMTP Error with same domain

Post by philblk » Wed Nov 06, 2024 1:47 pm

Hello everyone,

I'm encountering a problem with Joomla 4.4.9 while using the DBCalendar plugin. I need email notifications to be sent whenever a new event is added. Here’s a quick breakdown of my setup and the issue I’m facing:

Email Settings: I'm using SMTP Mail, and test emails work perfectly, so the configuration should be correct.
Notification Group: The email notifications are set to go to all users in the "Notification" user group.
Here’s the issue:

The notifications work without any problems as long as all users in the notification group have email addresses that do not match the domain used in the SMTP settings. For example, if I use [email protected] in the SMTP settings, notifications are sent successfully when users have email addresses like [email protected].

However, if any user in the group has an email address on the same domain as the one in the SMTP settings (e.g., [email protected]), I encounter an error when an event is added. Below is the backtrace of the error.

Any ideas on why this is happening or how to resolve it? I'd really appreciate any insights from anyone who has experienced something similar!

I think it has nothing to do with the plugin itself.

Thanks in advance!



Here is the backtrace:
SMTP Error: The following recipients failed: [email protected]: Domain does not exist: xyz.de
Call stack
# Function Location
1 () JROOT/libraries/vendor/phpmailer/phpmailer/src/PHPMailer.php:2082
2 PHPMailer\PHPMailer\PHPMailer->smtpSend() JROOT/libraries/vendor/phpmailer/phpmailer/src/PHPMailer.php:1678
3 PHPMailer\PHPMailer\PHPMailer->postSend() JROOT/libraries/vendor/phpmailer/phpmailer/src/PHPMailer.php:1516
4 PHPMailer\PHPMailer\PHPMailer->send() JROOT/libraries/src/Mail/Mail.php:172
5 Joomla\CMS\Mail\Mail->Send() JROOT/administrator/components/com_dpcalendar/src/Helper/DPCalendarHelper.php:799
6 DigitalPeak\Component\DPCalendar\Administrator\Helper\DPCalendarHelper::sendMail() JROOT/administrator/components/com_dpcalendar/src/Model/EventModel.php:873
7 DigitalPeak\Component\DPCalendar\Administrator\Model\EventModel->sendMail() JROOT/administrator/components/com_dpcalendar/src/Model/EventModel.php:541
8 DigitalPeak\Component\DPCalendar\Administrator\Model\EventModel->save() JROOT/libraries/src/MVC/Controller/FormController.php:676
9 Joomla\CMS\MVC\Controller\FormController->save() JROOT/administrator/components/com_dpcalendar/src/Controller/EventController.php:164
10 DigitalPeak\Component\DPCalendar\Administrator\Controller\EventController->save() JROOT/libraries/src/MVC/Controller/BaseController.php:693
11 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/libraries/src/Dispatcher/ComponentDispatcher.php:143
12 Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch() JROOT/administrator/components/com_dpcalendar/src/Dispatcher/Dispatcher.php:34
13 DigitalPeak\Component\DPCalendar\Administrator\Dispatcher\Dispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
18 require_once() JROOT/administrator/index.php:32

Advertisement
philblk
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Nov 06, 2024 1:30 pm

Re: SMTP Error with same domain

Post by philblk » Wed Nov 06, 2024 2:12 pm

Nvm i found the problem. it has to do with german öäü in domain.

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 4.x”