Email output could be much prettier

General discussion about MantisBT Plugins

Moderators: Developer, Contributor

mushu
Posts: 171
Joined: Jan 04, 2017 12:41 pm

Re: Email output could be much prettier

Post by mushu »

I used Chrome. Make sure your Vivaldi browser (for Android?) is version 3.3 because it updated the Chrome engine.
mushu
Posts: 171
Joined: Jan 04, 2017 12:41 pm

Re: Email output could be much prettier

Post by mushu »

Also, make sure your HTML is properly completed. I had to close the table element inside the loop per your sample code. And unclosed tr or td or table element will screw everything up.
cas
Posts: 906
Joined: Mar 11, 2006 11:08 am
Contact:

Re: Email output could be much prettier

Post by cas »

Ok, i use vivaldi under windows 10 but also have Chrome and Edge available :mrgreen:
cas
Posts: 906
Joined: Mar 11, 2006 11:08 am
Contact:

Re: Email output could be much prettier

Post by cas »

The question should be if users need all the info in an email. Playing around, I actually think that it does not make sense to copy the whole standard text-based email into a slightly more fancy lay-out. Yes it can be done but for me has no real value because it again can become a large email.
If a customer has real interest in the issue, I believe they will use the link to see the whole story.
So my suggestion is to stick to key elements like:
bug-id, reporter,summary, description,Due-date, handler & current status.
Followed by the latest changes made to the issue.
And of course a link to the issue.
Any more (other) views out there?
mushu
Posts: 171
Joined: Jan 04, 2017 12:41 pm

Re: Email output could be much prettier

Post by mushu »

Well, how about including just the latest info that changed and triggered the email at least, such as just the newest note or that someone was added as a monitor? I agree that there is no use for huge emails that contain the entire history, but the customer needs to at least see the thing that caused an email in the first place I'd imagine.

BTW how did that HTML/CSS update work when you tried a different browser?
cas
Posts: 906
Joined: Mar 11, 2006 11:08 am
Contact:

Re: Email output could be much prettier

Post by cas »

The HTML/CSS issue is still around.
For new/changed notes a separate email is triggered, template available already.
For the issue, I will add just the history entries that caused the email to be triggered in addition to key data of the issue itself.
Coming week not much time so may take some time :mrgreen:
cas
Posts: 906
Joined: Mar 11, 2006 11:08 am
Contact:

Re: Email output could be much prettier

Post by cas »

Attached something to test, feedback and/or improvements are appreciated :)
Attachments
mailtemplate.zip
(23.15 KiB) Downloaded 12 times
Post Reply