Forums

Email action

luxhodge 14 Aug, 2015
I am having issues with the email action attaching files and emailing them. I have a customer who logs in and tries to upload the file and send it. Everything works except the attachment is never sent. I logged in as them on my PC, and it works fine for me as long as I am in Chrome. It never works in IE. The email is sent, but the file is never attached. It is really strange. I tried logging in as myself on the site, but it does the same thing when I am logged in - works in Chrome but not IE. Do you think this is a browser version issue? Is there any update for the email action? Is there a better action to use? My Chrome version is Version 44.0.2403.155 m. My IE version is: 11.0.9600.17959. I am using Chronoforms v4.06 and up until this week it worked fine.

Let me know if anyone has any ideas. I am at a loss.

Thanks in advance for your help.

Erik
GreyHead 14 Aug, 2015
Hi Erik,

Is the Email action after the Files Upload action? If not, the file will not be ready to attach.

If that isn't the problem please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.

Bob
luxhodge 15 Aug, 2015
Hey Bob!

Yes. The email action is after the file upload action.

I added the debug and saw this error when trying the form in IE:

Validation Errors: 
Array
(
    [file1] => 1
)
Debug Data 
Upload files 
File post array: Array ( [name] => VMWare manual.pdf [type] => [tmp_name] => [error] => 1 [size] => 0 ) 
PHP returned this error for file upload by: file1
1 
email 
30 
Result 


Not sure what it means though. Can you help?

Thanks!

Erik
GreyHead 15 Aug, 2015
Hi Erik,

You can see the PHP File Errors here: Value: 1; The uploaded file exceeds the upload_max_filesize directive in php.ini.

Bob
luxhodge 15 Aug, 2015
Thanks for that Bob!

I will check the max file size to see what it is set for. It could be as simple as that except I don't know why it works in Chrome and not IE.

Erik
GreyHead 16 Aug, 2015
Hi Erik,

Check that (a) the form Action is set to File and not to Post; and that the form is not inside <p> tags. IE is sometimes less tolerant of technically incorrect HTML.

Bob
This topic is locked and no more replies can be posted.