Thread: Mail Protocol

Page 2 of 2 First 12
  • Jump to page:
    #16
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2005
    Posts
    85
    Rep Power
    9
    yes it sounds rather time comsuming but i guess if i spent a few mins on it a day the program would come together slowly lol

    ty for reply
  2. #17
  3. 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
    lol a few minutes, it would take a month or something:P

    Not to be mean
    Those people who think they know everything are a great annoyance to those of us who do.
  4. #18
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Nov 2003
    Posts
    624
    Rep Power
    34
    Originally Posted by Rc2001
    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
    Server:
    Config file in plain text with a list of user accounts
    Data file of messages for each user, or possibly a shelf of a list of messages.
    Methods to get messages for each user account
    Method to add a message to a user account
    Expose methods by XML-RPC

    Client:
    Config file saying which username it has
    Checks server for messages (by xml-rpc)
    Sends messages through the server

    This would give you enough to have a basic text mode non-realtime internal messaging client in Python. i.e. not MSN Messenger instant-messenging.

    It would also save you the bother of working with POP3, SMTP, parsing RFC-compliant email messages, dealing with sockets and lots of other faff.

    It would also be incredibly basic.

    However, XML-RPC is very easy to work with, and you could likely get something this simple going in an evening.
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo