Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nate 143 posts 184 karma points
    Jan 17, 2011 @ 19:46
    Nate
    0

    Upload mail attachment to umbraco media?

    I want to let a client e-mail photos to a web address as attachments, then automatically upload them to a media folder.

    I think i can get the media folder upload working.  Does anyone know where to start to get handle e-mails?  I have no clue.

    thanks!

    Nate

     

  • skiltz 501 posts 701 karma points
    Jan 17, 2011 @ 20:58
    skiltz
    0

    Not sure this is really helpful but back in the day we use to use Bugtracker.net for bugtracking, you could send bug to a email address and they would appear in the system.  This was done using a windows service which periodically connected to a smtp server and checked the mail.   Bugtracker.net source code can be downloaded maybe you could have  look at the code?

  • Nate 143 posts 184 karma points
    Jan 17, 2011 @ 21:03
    Nate
    0

    That's a good idea.  Lets see if any others come up before I mark as answered.

  • Amir Khan 1186 posts 2532 karma points
    Jan 17, 2011 @ 21:25
    Amir Khan
    0

    I know you can email-upload photos to Picasa, not sure what the best way to get from picasa to a media folder is though...http://picasa.google.com/support/bin/answer.py?hl=en&answer=83342

  • Amir Khan 1186 posts 2532 karma points
    Jan 17, 2011 @ 21:32
    Amir Khan
    0

    Also Flickr: http://www.flickr.com/tools/

    Seems like using their api to extract all the photos from that album / set and adding it to the media folder wouldn't be super difficult. You could probably just use javascript to if you just wanted to use them in the front end of your site also.

  • Matt Brailsford 2888 posts 15082 karma points MVP 7x c-trib
    Jan 18, 2011 @ 09:46
    Matt Brailsford
    1

    Hey Nate,

    Funny you should say that, I was discussing this very thing with Lee Kelleher a few weeks ago as a potential package, ie email2umbraco which would allow you to poll an email address and process any emails that come in and create content nodes from the email, and save any attachements in the media section. It's still very much at the ideas stage, but would be interested to see what you come up with.

    I was either going to look at setting up a windows service as suggested by Skiltz, or, for a more packagable solution (but I think not as reliable) to use the inbuilt scheduled tasks feature in Umbraco to do the check.

    http://our.umbraco.org/wiki/reference/packaging/package-actions/community-made-package-actions/add-a-scheduled-task

    The checking of the email should be pretty easy, as there are plenty of open source c# pop3 client libraries. It's just a case then of setting up the rules for how to process the email.

    Matt

  • skiltz 501 posts 701 karma points
    Jan 18, 2011 @ 11:21
    skiltz
    1

    On the scheduler side of things I've be using Quartz.net which works really well!

  • Jan Skovgaard 11258 posts 23498 karma points MVP 7x admin c-trib
    Jan 18, 2011 @ 11:27
    Jan Skovgaard
    0

    Hi Skiltz

    Is this the one? http://www.quartz-scheduler.org/

    /Jan

  • Matt Brailsford 2888 posts 15082 karma points MVP 7x c-trib
    Jan 18, 2011 @ 11:29
    Matt Brailsford
    1

    I think he means this one (.net port)

    http://quartznet.sourceforge.net/

    Nice suggestion by the way @skiltz

    Matt

  • skiltz 501 posts 701 karma points
    Jan 18, 2011 @ 11:35
    skiltz
    1

    Yup the one Matt linked to. The great thing is that it works between restarts, can have jobs go an excat times (to the millisecond). 

  • Jan Skovgaard 11258 posts 23498 karma points MVP 7x admin c-trib
    Jan 18, 2011 @ 11:40
    Jan Skovgaard
    0

    Hi guys

    This does indeed look cool. Thanks for the tip :-)

    /Jan

  • Nate 143 posts 184 karma points
    Jan 18, 2011 @ 19:30
    Nate
    0

    Thanks Matt.  Wasn't aware of that schedule task.  It looks like everything is laid out in front of me and now I just have to build it.

    If someone did this right it could also be used for support ticket queues, which would be cool.

    I doubt I will have time to work on this anytime soon but it might still be possible.  At least now this thread exists and people can implement it.

  • Josh Reid 182 posts 257 karma points
    Feb 06, 2011 @ 01:44
    Josh Reid
    0

    Yes! I'm very interested in this topic *subscribed*!
    Any progress on any front here, please keep us posted ;)

    Cheers
    Josh

Please Sign in or register to post replies

Write your reply to:

Draft