Error in Sending Email Task No SuchMailProvider:smtp

I have added this jar file in tomcat lib : folder:javax.mail-api-1.5.1.jar,camunda-bpm-mail-core-1.3.0-SNAPSHOT.jar,mail-1.4.7.jar also i have added environment variables in tomcat/bin setenv.bat and also i hvae added mail-configuration.properties in tomcat conf folder but when i start executing this task i got this error :slight_smile:
org.camunda.bpm.extension.mail.MailConnectorException: failed to send mail
No SuchMailProvider:smtp

i have read this :https://forum.camunda.io/t/error-in-sending-email-task-using-connector-id-mail-send/3075
but still i can;t get rid of this exception , what should i configure to make this task properly?

Hi @Sally,

it seems that you use a wrong mail lib. Please remove mail-1.4.7.jar and javax.mail-api-1.5.1.jar - and replace it with javax.mail-1.5.5.jar.

Does this fix the issue?
If not, can you please share your mail configuration?

Best regards,
Philipp