I have:
Mail handler 6.x-1.11
Mimedetect 6.x-1.3
Mimerouter 6.x-1.0
pop3.google.com (is working)
Settings for the rest the same as your instruction video.

Email is successfully delivered in a node of the default content type, but the email attachment is not delivered as field. I can't find where or how the attachment has been blocked. I have tested with video or image attachments.
The default content type fields allow all the well known file extensions for video's and images.
Because the email body is delivered, I think it is a Mime Router issue because it concerns only the attachments.

Please check this setup and post if it is working at your side..
Thanks

Comments

j9’s picture

I am having the same problem:

I sent an email to the Mailhandler inbox, I can see the email there with the attached video, and I retreive manually, the Media node is created, but no video is present. Even when I edit the node, I don't see the attached video anywhere, so I am supposing it was lost between the mailbox and the Drupal node.

Here is how I configured my site:

I installed these additional modules:

CCK, filefield, mailhandler, mimedect, video

I enabled these modules on the modules page:

Content, FileField, Mailhandler, Mime Router, MimeDetect, Video

(I am not sure if the video module is required to be enabled.)

For CCK:

I created a content type Media.
For its fields I have field_media and type is File.
Widget type is file upload (Is this correct? It is my only option.)
Permitted extensions: flv, mpg, mov, 3gp, mp4, mpeg

***** Just figured it out. I removed all the permitted extensions (left it blank) and the video came through to the node.

Not sure if it was the commas that messed it up or what.

It appears as though the commas in the permitted extensions field prevented videos from coming through.

I tested it with a single extension and it worked fine.

***** Hmm... I put

mpg mpeg

into the Permitted Extensions, and saved. It then displayed on the edit page:

mpg, mpeg

and now mpeg won't save.

I'll post back when I figure out more.

Yuri’s picture

It's funny that in the instruction video of funnymonkeys there is set a whole bunch of comma-separated video extensions, which apparently works there. I'll have a look today to do another test. What i did see in the instruction video, is that they used older versions of all used modules. So i think it is the result of some upgrade issues, which apparently is not maintained.
I'm just wondering if anyone successfully uses mimerouter with recent module versions.

Yuri’s picture

Ok, I got it working! I reinstalled the required modules (remove traces in database too) and now the attachments are visible in the body of the created nodes.
I first got a polite email that the email address was not permitted to post content, and then used the admin email, successfully.
I also saw that my setup for showing the video's in nodes was not really good, I had to tune my settings in swftools and video module in order to show any of the video extensions in the body of the nodes, but that actually has nothing to do with the mime router functionality.

j9’s picture

Yuri, did you have to leave the Permitted Extensions field blank to allow multiple mime types?

Yuri’s picture

No, I just used the default Permitted upload file extensions mp4, mpeg, avi, mpg, wmv, flv, mov without changing anything.

jgraham’s picture

Priority: Critical » Normal

It sounds like this was an allowed extensions setting issue for the respective file upload widget setting.

Is it safe to close this issue?

Yuri’s picture

Status: Active » Closed (works as designed)
lizacordero’s picture

Title: Email body delivered in node, attachment not delivered as field » Email body delivered in node, video attachment not delivered as field
Status: Closed (works as designed) » Active

I am currently experiencing the same issue as stated in this post. I reinstalled the required modules, but it did not fix my problem.

I am able to get the text and photo into the blog post, but the video is not being pulled in. Like j9, when I left allowable extensions for video blank, the video came in. I can't leave this setting blank because I need it to distinguish between photo and video for the post. Reinstalling the required modules did not fix my problem.

Is there another fix for this issue available?

Thanks.

jgraham’s picture

lizacordero,

Are you able to add the file in question via the normal drupal interface, and does everything work as expected?

Additionally I would try manually uploading the file to your server via scp/sftp then seeing what you get back from file.

eg.
'file FILENAME'

I'm guessing this could be an issue with your MIME magic database setup.

lizacordero’s picture

Hi jgraham,

Thank you for the quick response.

Yes, I am able to upload video using the normal drupal interface and everything works as expected there. I am also able to upload via scp/sftp and the filename stays the same.

I am using the Unix file command to detect mime type. Is this not sufficient?

Please advise.