AnsweredAssumed Answered

Issue with sending email in Activiti

Question asked by aishusath on Jul 5, 2018
Latest reply on Jul 12, 2018 by

Hi Team,

I am using Activiti BPMN 2.0. To send email, i have below configuration in activiti.config.xml file. 

the email box i am using here is authenticated email box. But i am getting below issue while triggering email. Please help me on this.



<bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration">
<property name="dataSource" ref="dataSource" />
<property name="transactionManager" ref="transactionManager" />
<property name="databaseSchemaUpdate" value="true" />
<property name="mailServerHost" value= "<smtpa host>" />
<property name="mailServerPort" value="587" />
<property name="mailServerUsername" value="<email address>" />
<property name="mailServerPassword" value="<password>" />
<property name="mailServerUseTLS" value="true" />
<property name="mailServerUseSSL" value="false"/>





Caused by: com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.60 SMTP; Client does not have permissions to send as this sender

at com.sun.mail.smtp.SMTPTransport.issueSendCommand( ~[javax.mail-1.5.2.jar:1.5.2]
at com.sun.mail.smtp.SMTPTransport.finishData( ~[javax.mail-1.5.2.jar:1.5.2]
at com.sun.mail.smtp.SMTPTransport.sendMessage( ~[javax.mail-1.5.2.jar:1.5.2]
at javax.mail.Transport.send0( ~[javax.mail-1.5.2.jar:1.5.2]
at javax.mail.Transport.send( ~[javax.mail-1.5.2.jar:1.5.2]
at org.apache.commons.mail.Email.sendMimeMessage( ~[commons-email-1.4.jar:1.4]


Thanks in advance!