Integrating Email task in Flowable. If doing from flowable-UI follow this.
Once you are done with the filing To, From, Html/HtmlVar, etc,. Configure the email server configuration in your spring application.
# email config
flowable.mail.server.host=smtp.google.com
flowable.mail.server.port=587
flowable.mail.server.username=arjun
flowable.mail.server.password=arjun
flowable.mail.server.use-tls=true
In case you want to add the email task manually paste this node to your workflow bpmn file.
<serviceTask id="RejectionEmail" name="Rejection Email" flowable:type="mail">
<extensionElements>
<flowable:field name="to">
<flowable:string><![CDATA[arjun@bitmonkey.in]]></flowable:string>
</flowable:field>
<flowable:field name="subject">
<flowable:string><![CDATA[Rejection]]></flowable:string>
</flowable:field>
<flowable:field name="html">
<flowable:string><![CDATA[<a href="http://bitsmonkey.in">Rejection reason</a>
<input type="textarea">Dummy Message</input>]]></flowable:string>
</flowable:field>
</extensionElements>
</serviceTask>
Code On!
Originally posted on Bitsmonkey
Top comments (2)
Please,could you help me? I had config project same you. But not run project. it error
javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25, response: 421
Can i get sample project for mail using flowable in spring-boot