Reputation: 363
Here is my mail configuration:
mail.transport.protocol=smtp
mail.smtp.host=smtp.gmail.com
mail.smtp.port=465
mail.smtp.auth=true
mail.smtp.ssl.enable=true
mail.smtp.socketFactory.port=465
mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory
mail.store.protocol=imaps
mail.imaps.host=imap.gmail.com
mail.imaps.port=993
mail.imaps.timeout=10000
mail.poll.folder=INBOX
mail.sender=Camunda
mail.attachment.download=true
mail.user=“"
mail.password="”
and then i have added http-connector for send-mail it looks like this:
but i can’t send any mails , by the way i can’t get any errors what should i change?
Upvotes: 2
Views: 905
Reputation: 798
It is possible that gmail flagged this as a "Less secure app". Check your inbox for a message with the subject: "Review blocked sign-in attempt". If that's the case you can either adjust this account to allow less secure apps (https://myaccount.google.com/lesssecureapps).
Upvotes: 1