There seem to be a new "mailsave" feature in FF allowing to publish files by email using mailhandler and mailsave.
This looks pretty neat, but unfortunately, I can't get it working.
I did not found any configuration option, this seems to be working silently
Mail sent to the type "file" are processed but don't create any content.
I receive back this message
"Your submission is invalid: A file upload must be provided"
The log report
"Node submission failure: validation error."
Not that node creation for other types of content works.
Thanks for help
Comments
Comment #1
miglius commentedThe purpose of the mailsave submodule is to handle e-mails with attachments. If you send a mail to the type blog, the mail attachments will be extracted and attached to the created blog post.
Comment #2
jvieille commentedI suppose you mean that the email shall create a node type which is not of the "file" type:
-> the email attachement will indirectly create the corresponding FF node "file" from the node attachement
In order to make my users' life simple, I use the "file" nodes directly, I really don't need to indirect them in embedding blog, story or other custom type nodes.
Wouldn't be possible that the file node type could be accepted as is (uploading the file stream from the attachement and creating the "file" node from the subject/content of the email) ?
Comment #3
miglius commentedUsually one don't send email with just a file attached. A common case is an email - some text and one or more files attached to the email. I was trying to replicate the same flow on the drupal side - some content node with file nodes attached to it. So now a file node is created for each mail attachment.
Comment #4
jvieille commentedImagine this simple, probably common scenario:
I have built an image gallery that shows pictures with title and accompanying description. the gallery browser works very well for that purpose, using files nodes directly (embedding or attaching nodes are not browsable)
I initiated the gallery using FF and Taxonomy server to bulk load/categorize the 400+ image files. (Thanks FF, it was so easy!)
I got file nodes with the proper titles (the file names I carefully adjust accordingly).
Then, I could add descriptions - manually - in the file node body field.
I was expecting allowing the site owner to conitunue building his gallery by just sending emails to create these files.
The current implementation would create a junk node in addition to the file node, and the desciption could not be added at the same time. It would not be easier than creating the file online.
I understandand well the rational of your current design, and I agree it could match some usages where the node nature of the file is of no interest by itself.
However, I think that the node handling of files shall be leverage as possible, i.e
- Acknowledging that files have a node existence by themselves - this is actually the case as one can filll up the body field and add CCK extensions - including for creation by mailsave (this request)
- i18n support making the node file translatable ( this request: http://drupal.org/node/639330)
I changed the category for Feature Request
Thank you for caring.
(that FF project is so amazing that we can reffrain asking for even more...)
Comment #5
alberto56 commentedFor what it's worth, you can take a look at #315381: make mailsave_to_imagefield work with mailhandler for importing images to cck imagefields. and the screencast at http://mediatribe.net/en/node/25 on using mailsave to upload files by email. For now this works with cck filefield via the mailsave_to_imagefield module contained within mailsave.
One can imagine an analogous "mailsave_to_ff" module which might upload to ff instead of imagefield.
albert.
Comment #6
jvieille commentedmailsave is no longer supported apparently
Integration with mimerouter would be handy
http://drupal.org/project/mimerouter
Comment #7
gobinathmClosing the issue. It was inactive for a long time & it's related to a Drupal Version which is not supported anymore