Problem/Motivation

In the present dev version, when the "Display Emails" checkbox is checked, the body of the mail is displayed in a white screen. The issue arises when multiple emails are generated simultaneously. In such a scenario, only the first email body will be displayed, and the subsequent generated emails are ignored.

Steps to reproduce

Trigger an event when 2 or more mails are generated simultaneously. Only the first email generated will be displayed.

Proposed resolution

Fix the module in such a way that, if multiple emails are generated simultaneously, all the email body should be shown as log messages.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Abhinand Gokhala K created an issue. See original summary.

anu.a_95’s picture

Issue summary: View changes
anu.a_95’s picture

Issue summary: View changes
anu.a_95’s picture

The reason for the issue was using an "exit;" just after the message printing function. In the patch this "exit;" is removed. Instead of displaying the email body in a white screen, all the generated emails content will be shown in the log messages. A status message requesting the user to check log messages for viewing generated email body is also added for better guidance

abhinand gokhala k’s picture

StatusFileSize
new619 bytes

@Anu Removed array key from the mail log.

abhinand gokhala k’s picture

Status: Active » Reviewed & tested by the community

I have reviewed and it is working.

sulfikar_s’s picture

StatusFileSize
new8.63 KB
new37.14 KB
new75.75 KB

I've applied the #5 patch. It is working. Hereby attaching the screenshots after patch applied,

after-patch-1

after-patch-3

after-patch-2

Thanks !

binnythomas’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the patch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.