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

cfmailparam

Guest
Mar 07, 2008 Mar 07, 2008
Hello~

I have a form that collects two documents, among other information. It saves data into a database, which it is doing fine. The last part of the action code is a <cfmail> message with all of the form information, and the option to <cfmailparam> two files, if they are submitted with the form. When I comment out the two <cfmailparam> lines, the email is sent correctly. When I leave them in, the form works and collects the correct data, but no email is sent. Please help!
329
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

correct answers 1 Correct answer

Deleted User
Mar 07, 2008 Mar 07, 2008
I figured it out! It didn't like the <cfparam name> and <cffile destination> being the same 🙂
Translate
Advisor ,
Mar 07, 2008 Mar 07, 2008
Have you looked in CF's logs? If so can you post your error messages?

Does the account CF runs as have permission to read from the directories where these files are located?

Are you using a absolute path to your files?
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
Guest
Mar 07, 2008 Mar 07, 2008
LATEST
I figured it out! It didn't like the <cfparam name> and <cffile destination> being the same 🙂
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