Having trouble posting mailhandler content if picture involed, sent by phone
Oyjord - January 18, 2009 - 01:43
| Project: | Mailhandler |
| Version: | 6.x-1.5 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi all,
Pardon me, I'm a n00b here. I finally got mailhandler to work great with my gmail. When I use my phone (Verizon Wireless) to text a message to my email address, the content posts on my drupal site just fine.
However, when I include a picture on my camera, and again text it to my gmail, mailhandler doens't post the content at all. When I log in manually to the gmail account I see the picture fine. It's not really an attachment, but inside the email.
Is there any way to txt a picture to my gmail so that mailhandler will post it?
Thanks!

#1
I think you need to configure your mobile to send the photos as real attachments.
#2
This is no good... Mac Mail, iPhones, gmail, etc attach attachments as INLINE dispositions . Its very important that inline attachments get loaded as attachments, or at the least, has a setting where you can choose this.
I wrote a class in the past that loads inline attachments very easily. This needs to be added to this module, otherwise its useless for the mailsave module.
Help?
#3
Have you tried mailsave? (http://drupal.org/project/mailsave)
#4
Yes, thats what Im using to save the emails to nodes, but mailsave emails an error that says "no attachment". Technically its not lying because the disposition is set to INLINE, not ATTACHMENT, when I send from my Mail OSX, or my iPhone.
I popped the hood on the mailhandler mod and noticed its discarding inline attachments... This means that any email program that adds attachments as INLINE, will ignore the them. ex: iPhone & Mac Mail. ( mailhandler.retrieve.inc / lines: 156-183 )
Do I need to redevelop mailhandler.retrieve.inc to treat all attachments as attachments? Or am I overseeing something here?
Thanks!!
-Joe