Sending mail through connector

Hi I am trying to send mail through connector following pizza order from github. but I am getting error
java.lang.IllegalStateException: Cannot find mail configuration at: classpath:/mail-config.properties
can anyone please help me I am using tomcat server

You are missung the mail.properties file.
Have a look at this one: https://github.com/camunda/camunda-bpm-mail/blob/master/examples/pizza/src/main/resources/mail-config.properties

I am having mail-config.properties file in src/main/resources and also I have kept that inside tomcat/conf. but still its and I have set “MAIL_CONFIG=%CATALINA_HOME%\conf\mail-config.properties” in startup.bat file but still I am getting same error

I have resolved that problem but now I am getting this error.
javax.mail.AuthenticationFailedException: 535-5.7.8 Username and Password not accepted.

can you please help me to resolve this

Did you check username and password?
Are you using the right port / encryption for your server? Are you able to connect with an email client like thunderbird to the mailbox?

How to solve this issue… Where to put the mail-config.properties file in Wildfly distribution