Actions
Defect #37540
openIf issue assigned to is a group, email will not send normally.
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Affected version:
Description
I had set a group that has some users.
Now, to create a issue and assign this issue to the group, set due day as yesterday,
execute:
bundle exec rake redmine:send_reminders days=1 RAILS_ENV="production"
get error:
E, [2022-08-03T10:19:27.602043 #152172] ERROR -- : Email delivery error: end of file reached
I tried use crontab to trigger reminder, today I got the message:
# Logfile created on 2022-08-03 09:00:19 +0800 by logger.rb/v1.4.2 I, [2022-08-03T09:00:19.995716 #148805] INFO -- : Rendering mailer/reminder.text.erb within layouts/mailer I, [2022-08-03T09:00:20.143974 #148805] INFO -- : Rendered mailer/reminder.text.erb within layouts/mailer (147.4ms) I, [2022-08-03T09:00:20.145199 #148805] INFO -- : Rendering mailer/reminder.html.erb within layouts/mailer I, [2022-08-03T09:00:20.310644 #148805] INFO -- : Rendered mailer/reminder.html.erb within layouts/mailer (165.3ms) E, [2022-08-03T09:00:20.510885 #148805] ERROR -- : Email delivery error: end of file reached I, [2022-08-03T09:00:20.511416 #148805] INFO -- : Performed ActionMailer::DeliveryJob (Job ID: b9b7789d-c3aa-47a4-9a76-c30cb3aee1dc) from Inline(mailers) in 647.54ms I, [2022-08-03T09:00:20.517979 #148805] INFO -- : Enqueued ActionMailer::DeliveryJob (Job ID: b9b7789d-c3aa-47a4-9a76-c30cb3aee1dc) to Inline(mailers) with arguments: "Mailer", "reminder", "deliver_now", #<GlobalID:0x0000557910b7cdf0 @uri=#<URI::GID gid://redmine-app/User/87>>, [#<GlobalID:0x0000557910b7b158 @uri=#<URI::GID gid://redmine-app/Issue/4218>>, #<GlobalID:0x0000557910b79100 @uri=#<URI::GID gid://redmine-app/Issue/4241>>, #<GlobalID:0x0000557910b783e0 @uri=#<URI::GID gid://redmine-app/Issue/4242>>, #<GlobalID:0x0000557910b77490 @uri=#<URI::GID gid://redmine-app/Issue/4243>>, #<GlobalID:0x0000557910b763b0 @uri=#<URI::GID gid://redmine-app/Issue/4244>>, #<GlobalID:0x0000557910b75410 @uri=#<URI::GID gid://redmine-app/Issue/4245>>, #<GlobalID:0x0000557910b745b0 @uri=#<URI::GID gid://redmine-app/Issue/4246>>, #<GlobalID:0x0000557910b73700 @uri=#<URI::GID gid://redmine-app/Issue/4247>>, #<GlobalID:0x0000557910b71e28 @uri=#<URI::GID gid://redmine-app/Issue/4248>>, #<GlobalID:0x0000557910b710b8 @uri=#<URI::GID gid://redmine-app/Issue/4249>>, #<GlobalID:0x0000557910b701e0 @uri=#<URI::GID gid://redmine-app/Issue/4250>>, #<GlobalID:0x0000557910b673d8 @uri=#<URI::GID gid://redmine-app/Issue/4256>>, #<GlobalID:0x0000557910b66140 @uri=#<URI::GID gid://redmine-app/Issue/4257>>, #<GlobalID:0x0000557910b65060 @uri=#<URI::GID gid://redmine-app/Issue/4258>>, #<GlobalID:0x0000557910b64278 @uri=#<URI::GID gid://redmine-app/Issue/4259>>, #<GlobalID:0x0000557910b63350 @uri=#<URI::GID gid://redmine-app/Issue/4260>>, #<GlobalID:0x0000557910b62518 @uri=#<URI::GID gid://redmine-app/Issue/4261>>, #<GlobalID:0x0000557910b617a8 @uri=#<URI::GID gid://redmine-app/Issue/4262>>, #<GlobalID:0x0000557910b60a60 @uri=#<URI::GID gid://redmine-app/Issue/4263>>, #<GlobalID:0x0000557910b5fca0 @uri=#<URI::GID gid://redmine-app/Issue/4268>>, #<GlobalID:0x0000557910b5f070 @uri=#<URI::GID gid://redmine-app/Issue/4269>>, #<GlobalID:0x0000557910b5e418 @uri=#<URI::GID gid://redmine-app/Issue/4270>>, #<GlobalID:0x0000557910b5d518 @uri=#<URI::GID gid://redmine-app/Issue/4271>>, #<GlobalID:0x0000557910b5c690 @uri=#<URI::GID gid://redmine-app/Issue/4272>>, #<GlobalID:0x0000557910b5ba38 @uri=#<URI::GID gid://redmine-app/Issue/4273>>, #<GlobalID:0x0000557910b5a980 @uri=#<URI::GID gid://redmine-app/Issue/4275>>, #<GlobalID:0x0000557910b59378 @uri=#<URI::GID gid://redmine-app/Issue/4276>>, #<GlobalID:0x0000557910b58568 @uri=#<URI::GID gid://redmine-app/Issue/4279>>, #<GlobalID:0x0000557910aab8b8 @uri=#<URI::GID gid://redmine-app/Issue/4280>>, #<GlobalID:0x0000557910aaaff8 @uri=#<URI::GID gid://redmine-app/Issue/4281>>, #<GlobalID:0x0000557910aaa008 @uri=#<URI::GID gid://redmine-app/Issue/4282>>, #<GlobalID:0x0000557910aa9568 @uri=#<URI::GID gid://redmine-app/Issue/4283>>, #<GlobalID:0x0000557910aa8690 @uri=#<URI::GID gid://redmine-app/Issue/4284>>, #<GlobalID:0x0000557910a9e9d8 @uri=#<URI::GID gid://redmine-app/Issue/4313>>, #<GlobalID:0x0000557910a9df60 @uri=#<URI::GID gid://redmine-app/Issue/4314>>, #<GlobalID:0x0000557910a9d678 @uri=#<URI::GID gid://redmine-app/Issue/4315>>, #<GlobalID:0x0000557910a9cca0 @uri=#<URI::GID gid://redmine-app/Issue/4316>>, #<GlobalID:0x0000557910a9c340 @uri=#<URI::GID gid://redmine-app/Issue/4317>>, #<GlobalID:0x0000557910b0b948 @uri=#<URI::GID gid://redmine-app/Issue/4318>>], 1
I thinks that means there has 39 issues over due day.
At the final, I set other issue over due day and assign to me only,
the email can send to me, and I saw the content has the last one and above issues.
Please hava a check. Thanks.
Environment: Redmine version 4.2.7.stable Ruby version 2.7.0-p0 (2019-12-25) [x86_64-linux-gnu] Rails version 5.2.8 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp SCM: Subversion 1.13.0 Mercurial 5.3.1 Cvs 1.12.13 Bazaar 3.0.2 Git 2.25.1 Filesystem Redmine plugins: external_links_in_new_window 0.9 redmine_closed_date 0.1.1 redmine_custom_workflows 2.0.4 redmine_dmsf 3.0.3 redmine_hearts 2.1.1 redmine_issue_templates 1.1.0 redmine_issues_panel 0.0.5 redmine_logs 0.3.0 redmine_mermaid_macro 1.0.1 redmine_message_customize 0.1.5 redmine_searchable_selectbox 0.1.10 redmine_status_report 1.0.0 redmine_theme_changer 0.6.0 redmine_wysiwyg_editor 0.27.0 redmine_xlsx_format_issue_exporter 0.1.7
Updated by Terence Lien over 2 years ago
I found if call the rake with project parameter, it's work well.
Actions