cancel
Showing results for 
Search instead for 
Did you mean: 

Logging mails send by email task to database

noobandy1364
Champ in-the-making
Champ in-the-making
My requirement is to log every mail that is send from our application into a database table.
I have a mail service and all mails are send thorough that which does the logging also.
my question is can i use that mail service with a email task ??
is activiti uses some email interface for sending emails that i can implement and configure in the activiti engine?
and if not is it a good idea to use service task instead of mail task. Thanks in advance
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
  1. in case when your service supports SMTP configuration is easy: http://www.activiti.org/userguide/#bpmnEmailTaskServerConfiguration
  2. in other case you can:
    1. use service task
    2. replace mail task behavior (org.activiti.engine.impl.bpmn.parser.factory.DefaultActivityBehaviorFactory)