ColdFusion cfmail is sending emails twice or thrice

Viewed 159

I am using Lucee. Here is the code.

<cfmail to="info@gmail.com" 
        from="some@gmail.com" 
        cc="some2@gmail.com" 
        bcc="some3.gmail.com" 
        subject="Testing mail system">
    <cfoutput>#dateformat(now(),'dd-mm-yyyy')#</cfoutput>
</cfmail>

When I remove the cc and bcc from above it is working as expected, but when I add cc, it is sending email twice and if I add bcc as well then it is sending email thrice. I don't know what is the issue. Could you please help me with this?

0 Answers
Related