Why does the mail giving exception as 'Client does not have permissions to send as this sender' when its credentials are working through webmail

789 views Asked by At

Using cfmail tag to send the mail as a submit action of form in a coldfusion 16 used website. Mail is going to undelivered

list and following error is seen in mail log 'com.sun.mail.smtp.SMTPSendFailedException: 550 5.7.60 SMTP; Client does not have permissions to send as this sender'

The sample mail code used given below.

<CFMAIL to="[email protected]" from=""[email protected]" subject="test mail" type="html" server="xxxmycloudmailbox.com" username="[email protected]" password="xxxx" port="587" useSSL="no" useTLS="yes"> test content

The mail credentials are correct and is able to login through its webmail. So,what could be the reason the mail not working programmatically?

0

There are 0 answers