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
Comment #2
anu.a_95 commentedComment #3
anu.a_95 commentedComment #4
anu.a_95 commentedThe 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
Comment #5
abhinand gokhala k commented@Anu Removed array key from the mail log.
Comment #6
abhinand gokhala k commentedI have reviewed and it is working.
Comment #7
sulfikar_s commentedI've applied the #5 patch. It is working. Hereby attaching the screenshots after patch applied,
Thanks !
Comment #8
binnythomas commentedThanks for the patch.