Which credentials to send mail through Zoho SMTP

Which credentials to send mail through Zoho SMTP

Hello,

I configured Zoho SMTP in my Java app to send mail. I can send successfully email when using my Zoho administrator user credentials ( admin@mydomain.com + admin password). In this case, when a user receives the email, the 'from' field shows " admin@mydomain.com".

However, I would like to send mails from ' noreply@mydomain.com'. I tried to change the credentials in the SMTP configuration to the noreply user ( noreply@mydomain.com + noreply password), but I get an exception "535 Authentication Failed".

How should I change my configuration?

Thanks in advance,
Kristof