SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Trash Boat mkoenig's Avatar
    Join Date
    Aug 2007
    Posts
    1,232
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP to Query Default Mailbox

    This is a strange request.

    If you set up one mailbox on your domain as the default that mailbox gets all the crap that doesn't go to a valid account.

    Is there a way to query/parse/search that account for specific accounts and pull only those messages.

    A full example would be my default account is webmaster@mydomain.com some spammer blindly guesses and send a message to support@mydomain.com
    If i want to use php to open the maillbox, search for that account and then display all entries for support@mydomain.com is there a way to do this?

    Its for a sort of spam catcher system im working on.

    Thanks SitePoint

  2. #2
    SitePoint Guru
    Join Date
    Jan 2005
    Location
    heaven
    Posts
    953
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mkoenig View Post
    This is a strange request.

    If you set up one mailbox on your domain as the default that mailbox gets all the crap that doesn't go to a valid account.

    Is there a way to query/parse/search that account for specific accounts and pull only those messages.

    A full example would be my default account is webmaster@mydomain.com some spammer blindly guesses and send a message to support@mydomain.com
    If i want to use php to open the maillbox, search for that account and then display all entries for support@mydomain.com is there a way to do this?

    Its for a sort of spam catcher system im working on.

    Thanks SitePoint
    This article might be of help to you.
    Creativity knows no other restraint than the
    confines of a small mind.
    - Me
    Geekly Humor
    Oh baby! Check out the design patterns on that framework!

  3. #3
    Trash Boat mkoenig's Avatar
    Join Date
    Aug 2007
    Posts
    1,232
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you i have a few books that cover creating a web based client i was just looking for specifics?

    Thank you however for the post.

  4. #4
    SitePoint Guru
    Join Date
    Jan 2005
    Location
    heaven
    Posts
    953
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I figured you'd just get the specifics from the article itself ^_^. IMAP
    Creativity knows no other restraint than the
    confines of a small mind.
    - Me
    Geekly Humor
    Oh baby! Check out the design patterns on that framework!

  5. #5
    Trash Boat mkoenig's Avatar
    Join Date
    Aug 2007
    Posts
    1,232
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by imaginethis View Post
    I figured you'd just get the specifics from the article itself ^_^. IMAP
    I guess i may have to do that i have a book sitting next to me im looking at that stuff, and checked out the page.

    Guess i need to do some sorta regex to pull messages just for the specific email im checking for.

    thank you, if anyone else has a solution have at it


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
  •