could not sending Emails using SMTP

Moderator: crythias

Post Reply
skilled
OTRS newbie
Posts: 40
Joined: 11 Apr 2018, 13:53
OTRS Version?: 3.3.6

could not sending Emails using SMTP

Post by skilled » 10 Feb 2019, 21:42

Hello,

I had a problem with sending email from otrs 6.
I am using SMTP to send the emails. I got this error:
error OTRS-otrs.Console.pl-Maint::Email::MailQueue-28 There was an error executing Execute() in Kernel::System::Console::Command::Maint::Email::MailQueue: Error: Message sending already in progress! Skipping...

I could receive the emails.
Then I tried to run this script: (as otrs user)
perl otrs.Console.pl Maint::Email::MailQueue
I got a long list of emails that waited to send them.
I tried to delete all of the emails which they in the queue: (as otrs user)
perl otrs.Console.pl Maint::Email::MailQueue --delete-all.
It took a long time to delete them.

under Admin->communication log-> choose one of the sent emails, I could see this details:

1 Kernel::System::Email Building message for delivery. 02/10/2019 20:42:18 (Europe/Berlin)
2 Kernel::System::Email Queuing message for delivery. 02/10/2019 20:42:18 (Europe/Berlin)
3 Kernel::System::MailQueue Serializing and saving message (ArticleID: , Sender: otrs@yourhost.example.com, Recipient: root@localhost, MessageID: ) 02/10/2019 20:42:18 (Europe/Berlin)
4 Kernel::System::MailQueue Successfully stored message for sending. 02/10/2019 20:42:19 (Europe/Berlin)
5 Kernel::System::Email Successfully queued message for delivery (To: 'root@localhost', From: 'otrs@yourhost.example.com', Subject: 'OTRS Scheduler Daemon Cron: MailQueueSend'). 02/10/2019 20:42:19 (Europe/Berlin)


How I could follow the error, or where is the problem?

Thanks

skilled
OTRS newbie
Posts: 40
Joined: 11 Apr 2018, 13:53
OTRS Version?: 3.3.6

Re: could not sending Emails using SMTP

Post by skilled » 13 Feb 2019, 09:56

Are there any ideas to solve this problem?
Thanks in advance

hmdd81
OTRS newbie
Posts: 2
Joined: 24 Sep 2018, 19:59
OTRS Version?: OTRS 6
Real Name: Heiko Mann
Company: Autoholding Dresden

Re: could not sending Emails using SMTP

Post by hmdd81 » 13 Feb 2019, 16:56

I have the same problem.
Some of our agents get notification mails but some don't cause the mail is sent to root@localhost.

skilled
OTRS newbie
Posts: 40
Joined: 11 Apr 2018, 13:53
OTRS Version?: 3.3.6

Re: could not sending Emails using SMTP

Post by skilled » 13 Feb 2019, 17:42

hmdd81 wrote:
13 Feb 2019, 16:56
I have the same problem.
Some of our agents get notification mails but some don't cause the mail is sent to root@localhost.
be sure, in Notification settings for every user, they should also choose Queue which they want to be notified if there is an Email

Post Reply