Fetching 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
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Fetching mail

Post by alex.barylski »

I've asked this before, but I can't find the damn thread...

Anyways, there are a few classes for sending email (d11's own Swift mailer) and phpMailer, etc...

Why isn't there one for getting email from SMTP, etc? Or is there and I just can't find it? Is it that trivial, one would only want to just use native PHP SMTP functions/api?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

Haha...call me phychic but I *knew* your were gonna post that link... :P

I am familiar with that API...I was more curious about possible wrapper classes and/or the lack thereof...

Is it simply not justified as the API is more than adequate? Why is there one for SMTP but not POP3 or IMAP?

One thing I am curious about (as I am only familiar with the existence of imap API not familiar with it's use) is does it handle the parsing of emails so you can easily extract things like Subject, timestamp, etc???

How does POP3 get implemented from a thin-client perspective? You obviously cannot download messages to your local machine, so I'm thinking POP3 API is rather useless from a typical PHP application standpoint???

Cheers :)
Post Reply