Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: email to php display emails on my site

  1. #1
    Join Date
    Sep 2007
    Posts
    21
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Question email to php display emails on my site

    can someone help me please.
    i'm basically trying to catch the headers of an email text or picture attachments .
    I have a friend that can text messages and pictures using the built in camera and email it to an address .
    I want a build a blog that she could post text/+pics using her phone to the blog im creating (or maybe there's a prebuilt blog that can do that?)
    basically when she email some address the php will somehow catch that and add all whats inside.
    can someone help with that plz.
    thanks
    important to note that php is installed as a apache addon not cgi binary .
    i guess i can change it if nessery.
    Last edited by flash; 04-26-2008 at 08:41 AM.

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Have a look through this thread. http://www.dynamicdrive.com/forums/s...ad.php?t=27235

    Unfortunately, the demo has been taken down since then (mostly because I am upgrading the code to add more features for a side project). The code is posted in the thread though, so you can try it out on your own server. Also, I believe that wordpress has this feature as an aftermarket mod that you can install (not 100% though).

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. The Following User Says Thank You to thetestingsite For This Useful Post:

    flash (04-27-2008)

  4. #3
    Join Date
    Sep 2007
    Posts
    21
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    ty , i'm looking through it.

  5. #4
    Join Date
    Sep 2007
    Posts
    21
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    i think it might be called postie for wordpress.
    do u actually have a working script ready of this?
    that you could upload somewhere please.
    im just finding some unusuable things for me things with like perl, pear.
    i want something simple if possible.
    did the example u did was able to handle image attachments taken with the phone also ? so cool.

  6. #5
    Join Date
    Sep 2007
    Posts
    21
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    I tried the script you help do for davidjmorin , but i get no errors when i run it i mean i get nothing.
    wish I could use my gmail address , but not insisting on it at all.
    and to specific which specific email to check emails from.
    Last edited by flash; 04-26-2008 at 05:07 PM.

  7. #6
    Join Date
    Sep 2007
    Posts
    21
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    wow cool postie for wordpress plugin worked.
    but if i could get the script you made to work that would be even better.
    im trying to build something more private and discrete.
    and not use a built blog like wordpress.

  8. #7
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    ok, go ahead and send a test email to demo[at]thetestingsite.net and then go to http://thetestingsite.net/test/demo/

    from there it will redirect you to the folder that the attachments are saved in. For the source, go to http://thetestingsite.net/test/demo/index.phps

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  9. The Following User Says Thank You to thetestingsite For This Useful Post:

    flash (04-27-2008)

  10. #8
    Join Date
    Sep 2007
    Posts
    21
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    wow that is so cool , thank you so much.

  11. #9
    Join Date
    Sep 2007
    Posts
    21
    Thanks
    5
    Thanked 0 Times in 0 Posts

    Default

    it would rock if there was a way it could of insert some info to the db .
    say id,email address , date, pic filename.
    would that be hard?
    script works great.
    thank you so much.
    Last edited by flash; 04-27-2008 at 08:21 AM.

  12. #10
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    That was actually the modification I was working on. I should be finished with it later on tonight or tomorrow morning at the latest (when the time permits me to work on it). I'll post the updated code as soon as I'm done.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  13. The Following User Says Thank You to thetestingsite For This Useful Post:

    flash (04-27-2008)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •