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="testusermail@xx.com" from=""testfrom@gmail.com" subject="test mail" type="html" server="xxxmycloudmailbox.com" username="testusermail@xx.com" 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?