Posted by jdlind38 on April 18, 2008 at 2:29pm
Jump to:
| Project: | Send |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
Issue Summary
Is it possible to add an upload feature to the form? I have a need to allow users to attach a file before they send it to another user or email address. Thanks in advance.
Comments
#1
Are you sure that you want this? Do you realize that this will allow anyone to send virus-infected attachments or spam to other people? And that people who receive those attachments will think that they came from you, and blame you for it?
In general, you shouldn't enable others send e-mails from your system. (In some countries, you are liable if you let spammers abuse your system.) Tell-a-friend scripts are an exception, because the sender has no control over the content of the message. Your feature request is trying to cross that line.
#2
I understand and respect your concern. This upload feature would only be used on the company's intranet, so only people with specific permissions would be able to add an attachment. My goal is to have the ability for users to navigate to the latest direct mail piece on the site, forward the link to the node, attach a mailing list and send it to the printer. The printer would then click on the link to see which mail piece they need to send out using the attached mailing list. If there is a better way to do it I'm all for it. I really appreciate the help...
#3
OK, the problem is more complex than I thought. If you want the community to help you figure out the best solution to your needs, I think it would be best to create a new forum topic for it, because I think this issue as a whole is beyond the scope of the send module.
#4
Ok, thanks.
#5
Did you create a forum topic yet? Maybe you can post the url here.
#6
I did (http://drupal.org/node/249019). They thought that it's more of a module question?!
#7
I am going to mark this as one of the following:
* A duplicate of #235810: Sending files attached to nodes as email attachments
* Assuming this request won't be satisfied by that issue, I'm "won't fix"ing this, and you have three possible options:
1. Implement a module that *extends* send's behavior to do this and contribute it back as a separate project. You can see how this is done in the send_node module that is included with this project, or in a module like News.
2. Work your own proprietary magic by form_altering your way to victory, or by creating a separate form that includes an element of #type => send
3. Hiring a developer who can do #1 or #2 for you
Thanks and good luck!