Closed (fixed)
Project:
SMTP Authentication Support
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Mar 2018 at 10:51 UTC
Updated:
5 Mar 2020 at 11:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
nkoporecCreated a patch, which shows the success message only when no mail errors appear.
Comment #3
emartoni commentedHi @nkoporec, how are you?
Nice patch, but I think it's better to check the mail response instead get all the message and loop on it.
What do you think?
Best,
Eduardo
Comment #4
nkoporecHi @emartoni, yeah I would agree that is a more cleanly approach, but I tested your patch and the issue this exists ...The problem is that mail response is always true(I think it's because it takes some time to send the mail and the function always returns true at the beginning and when the error appears function executes the show error message) so the success message is displayed alongside the mail error message.See screenshot for more info.
Comment #5
chris matthews commentedThe 2 year old patch in #3 no longer applies to 8.x-1.x-dev.
Comment #6
ravi.shankar commentedI have rerolled against 8.x-1.x-dev branch.
Comment #7
rivimeyComment #8
rivimeyComment #9
wundo commentedComment #11
wundo commented