3 weeks ago - last edited 3 weeks ago
Hi,
I am new to Activiti, and I'm trying to use a mail task but it fails. Can someone please help me?
I add these codes in activiti-custom-context.xml:
<property name="mailServerHost" value="smtp.gmail.com"/>
<property name="mailServerPort" value="465"/>
<property name="mailServerUseTLS" value="false"/>
<property name="mailServerUseSSL" value="true"/>
<property name="mailServerDefaultFrom" value="myemail@gmail.com"/>
<property name="mailServerUsername" value="myemail@gmail.com"/>
<property name="mailServerPassword" value="*******************"/>
and these in engine.properties
# email properties
engine.email.enabled=true
engine.email.host="smtp.gmail.com"
email.port=465
email.useCredentials=true
email.username=myemail@gmail.com
email.password=******************
email.base.url=http://localhost:8080/activiti-app
email.from.default=myemail@gmail.com
email.from.default.name=myemail@gmail.com
and I use Gmail app password, not my actual password, since Beginning September 30, 2024: third-party apps that use only a password to access Google Accounts and Google Sync will no longer be supported. I use Gmail app password and hope that it could make the mail task work, but it didn't.
This is how it turned out:
Can someone please show me what I did wrong and how to fix it.
Best regards,
Ngoc.
3 weeks ago
The photo was a bit blurry so I paste it again here
Explore our Alfresco products with the links below. Use labels to filter content by product module.