Skip to content

[Bug]: SMTP mail sends unrecognized commands #774

@cobyteskb

Description

@cobyteskb

Describe the problem

Hi There,

We tried to configure SMTP mail, but our mailserver won't accept any e-mails due to unrecognized commands (Headers). These are:

  • X-Mailer
  • MIME-Version
2025-09-10 14:40:40 SMTP call from dnsadmin dropped: too many unrecognized commands (last was "X-Mailer: Poweradmin Mailer")
2025-09-10 14:43:59 SMTP call from dnsadmin dropped: too many unrecognized commands (last was "MIME-Version: 1.0")

These headers are added in lib/Application/Service/MailService.php

'X-Mailer' => 'Poweradmin Mailer',

'MIME-Version' => '1.0',

When i remove these 2 headers from the above file, the e-mail is send out withoud any issues!

These headers (SMTP commands) are not allowed in the SMTP protocol.

Steps to reproduce

  1. Edit file lib/Application/Service/MailService.php
  2. Remove header X-Mailer on line 494
  3. Remove header MIME-Version on line 495
  4. Send mail

Poweradmin version

4.0.1

Database

MySQL

Additional information (optional)

No response

Metadata

Metadata

Assignees

Labels

coreCore Features

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions