-
1. Re: HTML support in mail templates
shantanu.u Dec 9, 2008 4:55 PM (in response to shantanu.u)Just to write it correctly again - my mail template contains CDATA with tags to make bold.
-
2. Re: HTML support in mail templates
kukeltje Dec 9, 2008 5:54 PM (in response to shantanu.u)No, sorry.... You have to adapt the Mail class to create mime messages. Then it works. If you do, and make it configurable in jBPM so the default is non-html mail, but you could configure it to do html mail, we gladly accept the contribution ;-)
-
3. Re: HTML support in mail templates
srohanrao Dec 11, 2008 5:32 PM (in response to shantanu.u)In one of the Bug Reported on this it was said it would be supported in next version so I was hoping it would be there in version 3.3. Any idea if HTML mails are suppored in 3.3?
-
4. Re: HTML support in mail templates
kukeltje Dec 11, 2008 5:37 PM (in response to shantanu.u)If it is in one of the bug reports, you probably have a link for it then...
-
6. Re: HTML support in mail templates
shantanu.u Dec 11, 2008 5:54 PM (in response to shantanu.u)Yes, I had earlier seen this link. That's why I posted this thread in the first place. In fact, Ronald, I see your name on this bug report. I tried using jpdl 3.3 and got another error so had to revert back to 3.2.2.
But not, this bug reports says :html mail will only be used when a template or the text element is used, not with the text attribute
This description, I assume, is referring to 3.2.2. And it doesn't work in 3.2.2. -
7. Re: HTML support in mail templates
srohanrao Dec 11, 2008 6:23 PM (in response to shantanu.u)It is really unbelievable that it is so difficult to send a notification email in HTML format which is a basic requirement in any notification system (Atleast I am not able to get it), really frustating.
-
8. Re: HTML support in mail templates
shantanu.u Dec 11, 2008 6:25 PM (in response to shantanu.u)Are you able to use reminders ? Is so, please tell me. I've spent 2 days on it with no luck.
-
9. Re: HTML support in mail templates
srohanrao Dec 11, 2008 6:28 PM (in response to shantanu.u)Not yet there, still stuck with the formatting of the task assignment notification email. :)
-
10. Re: HTML support in mail templates
shantanu.u Dec 11, 2008 7:25 PM (in response to shantanu.u)Are you using notify="yes" on task? I've tried that, it's not working. I'd like to know what I'm doing wrong.
-
11. Re: HTML support in mail templates
shantanu.u Dec 11, 2008 7:26 PM (in response to shantanu.u)If you're using notify='yes' , let me know. I haven't got that to work .
-
12. Re: HTML support in mail templates
srohanrao Dec 11, 2008 7:50 PM (in response to shantanu.u)Yes I am using notify='yes' and its working. Make sure you have specified the correct template file name and the template file has a template declared with the name "task-assign"
-
13. Re: HTML support in mail templates
shantanu.u Dec 12, 2008 12:52 PM (in response to shantanu.u)Notify is working now !
The template HAS to be defined with :<mail-template name='task-assign'>
Funny, that's not written in the documentation. I guess that's why the reminders are not working. They need :<mail-template name='task-reminder'>
What if I don't use templates - does that mean notify won't work ??
My scenario is that a user pulls a task from a pool. The notify causes an email to be fired to himself. Isn't very useful.
I would want an admin guy to assign tasks to people and they should be notified via email. Have you implemented anything like that ? -
14. Re: HTML support in mail templates
kukeltje Dec 12, 2008 1:17 PM (in response to shantanu.u)Funny, that's not written in the documentation.
That probably because task-assign and task-reminder should be in the mail templates by default.What if I don't use templates - does that mean notify won't work ??
Yes, because that is the way they work.... If you don't have a car can you drive one?
My scenario is that a user pulls a task from a pool. The notify causes an email to be fired to himself. Isn't very useful. I would want an admin guy to assign tasks to people and they should be notified via email. Have you implemented anything like that ?
Don't think anybody implemented it, but it would be a nice addition..... In combination with sending mail to the pooled actors to don't send a mail if the current actor is pulling a task from the pool and assign it to himself, but do send it if a manager/admin guy does it. Feel free to implement that in jBPM and contribute it and file a Jira issue.
You can also just file a jira and hope it attracts enough attention to be implemented.