[SOLVED] read 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
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

read mail

Post by ol4pr0 »

OKe my following thing.

I am about of getting very sick of the whole newsletter thing. Not because it doesnt work, cuase there are lots of mails being entered. Maby tomuch ? lol.

However like 5% of all those mails do not exist. Can i read the mail using php intercept the mails that say User Unknow or otherwise for delete , but have the good mails stay on server.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

yes.. you can read most mail servers through the [php_man]imap[/php_man] extension
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

And have them stay on server? Cause i would like delete them myself. So to make sure its not deleting any of the good mails. if any. lol
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

read the docs on imap.
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

I don't see why you would spend time writing this yourself... there are already so many scripts/programs available :)

preferred ones are clamav+spamassassin+procmail :)
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

hehe.. Aight c00l thanks.. i would mind spending time on it tho.. a: ill learn something new, and b: well better spendingtime on that than opening ure mail everytime and being busy deleteing all the mails from db lol.
Post Reply