Ldap connected successfully with zimbra mail server but unable to send emails

ldap connected successfully with zimbra mail server but unable to send emails … also tried nd installed zimbra mail integration app which also doesnt works always returns invalid username/ password… unable to understand when i have logged in with same user of zimbra in nextcloud then how can be username and password is incorrect… please advice what to do …only stuck due to this