Project

General

Profile

Actions

Bug #59597

closed

fileupload - file not sent with email

Added by Kerstin Finke over 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2014-06-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Hi,

I can add a fileupload-field to my forms withe the form-wizard. But when I send the form I get only the filename in the email, not the file itself as attachment.

In typo3temp there is a file uploaded, but it seems not to be added to the email.

The manual says, the fileupload is "under development":
"Creates a file select control. User agents may use the value of the value attribute as the initial file name.
This control type allows the user to select files so that their contents may be submitted with a form.
This object is still under development and probably all functionality will be added after the first release of this extension. Currently it is only possible to generate a field meant for file upload, but the uploaded data will not be handled."

I think this is a must-have, since it's so essential to have a fileupload-possibility.

See also this report from 2011, where at least the fileupload should be disabled.
http://forge.typo3.org/issues/31085

Is there any patch or workaround?
Or have I done something wrong?

Thanks in advance
Kerstin


Files

ext-form-email-fileupload.png (37.2 KB) ext-form-email-fileupload.png Ralf Zimmermann, 2015-11-26 12:36
Actions #1

Updated by Mathias Schreiber about 9 years ago

  • Category set to Form Framework
  • Assignee set to Björn Jacob

@björn: any hints?

Actions #2

Updated by Björn Jacob about 9 years ago

This works for v7 without any problems. But we have to check it for 6.2. I'll take care of the testing and handle the ticket.

Actions #3

Updated by Ralf Zimmermann almost 9 years ago

prefix = tx_form
confirmation = 1
postProcessor {
    1 = mail
    1 {
        recipientEmail = your@mail.com
        senderEmail = your@mail.com
    }
}
10 = FILEUPLOAD
10 {
    name = test
    label {
        value = Edit this label
    }
}
20 = SUBMIT
20 {
    name = submit
    value = Submit
}

This simple setup works for me like a charm with a TYPO3 6.2.16-dev.

Actions #4

Updated by Ralf Zimmermann almost 9 years ago

  • TYPO3 Version changed from 6.1 to 6.2
Actions #6

Updated by Björn Jacob almost 9 years ago

  • Status changed from New to Closed
  • Assignee deleted (Björn Jacob)

Also tested this issue on a current 6.2. The documentation is outdated (a new version will be released soon). The file upload works as expected. The file was attached to the mail. So closing this issue. If you still have a problem, please re-open the issue.

Actions

Also available in: Atom PDF