Thursday 07 February 2008 7:50:07 am
Hi there,
i want to modify a contact form (which is based on information collectors) by adding a file attribute. The user filling out the form should be able to upload a file to the ez system.
Two question here:
1- As far as i can see, that file attribute does not allow to set the information collector "flag". I guess, this is a design decision. Do you have an idea on how to solve or mimic the needed feature?
2- If the above can be solved, how can we attach the uploaded file to the mail, that is sent to the receiver? This would require a function to encode a binary file as a mail attachment. Or, how can I at least send a link to the file's location on the server with that email? I know, that this procedure may introduce security issues...
The only solution that i can think of at the moment is to drop the information collector concept here and let the user (who may be anonymous) create an object (just like a forum post) and use the notification system to inform a user about new objects. But still, i think, i cannot attach the file to the notification mail, right?
Marco
http://www.hyperroad-design.com
|