Posted by modoo on May 1, 2013 at 1:58am
I have a client that has a site that shares documents with their customers. They also want to be able to click on that file and send it as an attachment to a third party. You can easily send the link to the file. Has anyone ever tried attaching it? Is it even possible?
Comments
Mime Mail module
I think the Mime Mail module will get you a step in the right direction. From the project description:
"Provides simple system actions and Rules actions to send HTML email with embedded images and attachments."
I've already starting looking
I've already starting looking into that one, but I can't figure out how to make it do what I want. It does give actions for sending HTML emails with attachments, but it seems to be only canned emails and it has to be triggered by an event. None of the events really apply. I want to create a link next to the file link that says "Email this document". By clicking on it, you would get a To, From, Subject, and Body field and the document would automatically be attached.
OR... if this is simpler... The site could have an "Email a document" form that allows me to browse already uploaded files to attach to an email.
I'll keep playing with MIME Mail and see if I can get it to do what I want. IF anyone has any other suggestions or specifics on how to work with MIME for this purpose, please let me know. Greatly appreciated!