Copy link to clipboard
Copied
I have an app that uses cfmail to do password resets for users. It works fine on our development server, but on the live server, it won't send mail. I have other live apps that send mail though, and the only difference between the working ones and the "broken" one is that the broken one is in an SSL protected folder.
Is there a change I need to make to the cfmail tag to get it to work from an SSL folder, or is this likely some other problem?
Copy link to clipboard
Copied
Hi,
Try enabling the "" and "Enable TLS connection to mail server" options which can be found in the CF Administrator's mail setttings page.
Copy link to clipboard
Copied
Thanks,
I've solved the problem temporarily after comparing my app to a known working one on the same server.
Apparently, on our live server, cfmail will only work if you omit the server attribute. On the dev server, it will only work WITH the server attribute, and populated with our office mail server.
Now sure why it needs a blank mail server out on the live site. Seems rather odd, and makes me wonder if it's a security risk.