Receiving mail

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gynophobia
Forum Newbie
Posts: 5
Joined: Wed Mar 08, 2006 11:14 am

Receiving mail

Post by gynophobia »

i'm final semester student for my degree in computer science.. i'm studying and developing on email system now with PHP code for my project title "filtering mail with customize mail"

my question:
1. how to receive mail from the server side? i'm using my college internet server and from what i heard from my lecturer, he say i need to write a script to read the mail from the server side and then post it into database so particular user can extract it when they login.. can anyone help me on this script? :cry:

2. and i will do the filtering based on the incoming mail.. means i will filter all my mail according to the folder i created earlier (based on user preferences like abc@abc.com will go into ABC folder).. any idea on how to develop or code this section?

your help is much appreciated... :P
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

  1. imap extension?
  2. that would vary wildly from what is being filtered, to how they want to filter it. Regular expressions will likely be used for a lot of it.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

I say this everytime the IMAP things comes up. Don't be fooled by the name. It does other protocols too such as POP3 and NNTP.
gynophobia
Forum Newbie
Posts: 5
Joined: Wed Mar 08, 2006 11:14 am

Post by gynophobia »

i will use pop3 as my receiving part...
gynophobia
Forum Newbie
Posts: 5
Joined: Wed Mar 08, 2006 11:14 am

Post by gynophobia »

i want to filter based on the receiver's name or domain... means i will let the user to create own folder (for example folder name ABC and set receiver ABC@ABC.com)... next time whenever ABC use ABC@ABC.com send mail to the user, the mail will directly point to the folder...

regard..
Post Reply