Thread: Mail Protocol

Page 1 of 2 12 Last
  • Jump to page:
    #1
  1. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    11

    Mail Protocol


    hi

    This is quite a small question so it will done fast

    with what protocol would I get mail from the hotmail serer for example or gmail...
    Those people who think they know everything are a great annoyance to those of us who do.
  2. #2
  3. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Dec 2004
    Location
    Meriden, Connecticut
    Posts
    1,797
    Rep Power
    154
    I couldn't find anything exactly like what you wanted. But try this like:
    http://aspn.activestate.com/ASPN/Coo...n/Recipe/67083
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    11
    that link does not work
    Those people who think they know everything are a great annoyance to those of us who do.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Posts
    624
    Rep Power
    34
    Basically, you can't with Hotmail.

    I know Outlook Express can read Hotmail, but there is no official announced protocol that you could use.

    GMail, however, offers the standard POP3 protocol to access (read, but not send) emails.

    see: http://gmail.google.com/support/bin/...3273&topic=194 for details on how to enable it.

    Then use Python's poplib module:
    http://www.python.org/doc/2.3/lib/module-poplib.html
    (there's a POP3 example there too)
  8. #5
  9. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Dec 2004
    Location
    Meriden, Connecticut
    Posts
    1,797
    Rep Power
    154
    Originally Posted by monkeyman23555
    that link does not work
    I just tested the link, it worked fine.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    11
    thanks guys

    tyeggt sorry now it worked for me as well

    EDIT:

    Does anyone know how to get the hotmail mail of it
    Last edited by monkeyman23555; August 17th, 2005 at 02:45 PM.
    Those people who think they know everything are a great annoyance to those of us who do.
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    11
    Maybe it be with the imaplib
    Those people who think they know everything are a great annoyance to those of us who do.
  14. #8
  15. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2005
    Posts
    174
    Rep Power
    11

    httpmail could be the answer


    yes, I've also been looking for something in python too.

    Turns out there's a sourceforge file called httpmail that works with php/perl/c# even, but haven't seen it in python.

    check out this hotmail example link for what you need to do. It's quite self-explanitory and in C#.

    http://www.codeproject.com/csharp/httpmail.asp

    as I'm not too experienced with XML parsing please note that this will be required to understand httpmail. You might also get help from the Gaim community since they connect to Hotmail, AOL, Yahoo etc with httpmail in their messenger program (which is why i know about httpmail )

    Hope this helps
    sf2k
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    11
    okay well I have no clue about XML and C++ only a little

    lol
    Those people who think they know everything are a great annoyance to those of us who do.
  18. #10
  19. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2005
    Posts
    85
    Rep Power
    10
    since this room is title mail protocol...

    im not familar with sockets and other stuff needed to make a program operate over internet, but is it possible to make a mail program that runs over an intranet(not internet) entirely out of python

    PS:
    can some one show me a general idea of the psuedo code plz
  20. #11
  21. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    11
    well you code but that would be if you make your own protocols and run them on every computer and so on (and ofcourse with sockets, not anything else)

    I guess you mean like an internal chat program since it is not worth it to have mail like chat/mail type...
    Those people who think they know everything are a great annoyance to those of us who do.
  22. #12
  23. Contributing User
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Dec 2004
    Location
    Meriden, Connecticut
    Posts
    1,797
    Rep Power
    154
    If you aren't experienced enough I wouldn't suggest trying to create your own email protocol of any type. I'm sure there are some that you can find through google or simply use one of the mail related modules in the Python Module Glossary on the main site.
  24. #13
  25. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2005
    Posts
    85
    Rep Power
    10
    oh ok then i wont attempt because of my inexperience on python, ty anyway. ill find a less complex project
  26. #14
  27. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2005
    Posts
    174
    Rep Power
    11
    Here are my general observations. I'm not an expert and have never made an email program.

    But if the project presented itself i'd have to say, c'mon keep going only of course if you've got the time that is...

    if NO TIME i'd recommend Mailman as (i think?) it's made from python and you can look under the hood to see how it works.

    http://www.gnu.org/software/mailman/index.html

    basically all internet programs are telnet apps. (browsers, ftp, telnet) Coincidentally, python has a telnetlib module. This is pretty basic and only useful if you like typing in directly at the mail server (HELO LIST etc). If there is a protocol, then python has a module for it. pop3, imap, smtp etc etc... Better to use the email module as this has more features already figured out like MIME types etc.

    So if you want to code it yourself, you can use the base modules and work your way from there. It will use the email standards while also being suited to just your needs. If it gets too big though you might just use standard email programs or servers like mailman.

    cheers
    sf2k
    Last edited by sf2k; September 2nd, 2005 at 02:58 AM.
  28. #15
  29. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2004
    Location
    There where the rabbits jump
    Posts
    556
    Rep Power
    11
    well I sort of found how I wanted to structure it and all just at the moment I have no time at all
    Those people who think they know everything are a great annoyance to those of us who do.
Page 1 of 2 12 Last
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo