Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

cfmail and ssl

Contributor ,
Dec 17, 2009 Dec 17, 2009

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?

728
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Dec 17, 2009 Dec 17, 2009

Hi,

Try enabling the "" and "Enable TLS connection to mail server" options which can be found in the CF Administrator's mail setttings page.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Dec 17, 2009 Dec 17, 2009
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources