No Title
Hi
I have added “camunda-bpm-mail-core” maven dependency (version 1.2.0)in pom.xml and
mail-config.properties in class path of spring boot project,
but there is an error when sending an email.
I have deployed this bpmn
mail.bpmn (3.4 KB)
Here is the mail-config.properties :
mail.transport.protocol=smtp
mail.smtp.port=587
mail.smtp.auth=true
mail.smtp.ssl.enable=true
mail.smtp.socketFactory.port=465
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
mail.smtp.starttls.enable=true
poll mails via IMAPS
mail.store.protocol=imaps
mail.imaps.host=imap.gmail.com
mail.imaps.port=993
mail.imaps.timeout=10000
if peek = false then the polled mails are marked as read
#mail.imaps.peek=false
additional config
mail.poll.folder=INBOX
mail.sender=PizzaInc
#mail.sender.alias=User Inc
mail.attachment.download=false
#mail.attachment.path=attachments
credentials
mail.password=PASSWORD
here is the error log
org.camunda.bpm.extension.mail.MailConnectorException: failed to send mail
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 587;
nested exception is:
javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
Thank you all in advance.