here is a quick and dirty version of mailsave_to_filefield borrowed from the mailsave_to_imagefield module.

it works for me but probably needs testing.

it also adds an admin setting to chose a mailbox to hook into, thus not breaking other mailboxes for content types that dont have filefields.

this setting should be expanding to allow multiple mailboxes, but I don't need this right now.

thoughts?

CommentFileSizeAuthor
mailsave_to_filefield.zip2.92 KBVeggieryan

Comments

a_c_m’s picture

any chance of a D6 port of this?

mfb’s picture

Status: Needs review » Needs work

I don't plan to add new functionality on the 5.x branches, so marking this as needs work, i.e. needs to be ported to Drupal 6.