IMAP functions vs fsockopen for POP3 access...

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
Trance-formation
Forum Newbie
Posts: 11
Joined: Tue Jul 17, 2007 6:31 am

IMAP functions vs fsockopen for POP3 access...

Post by Trance-formation »

I am wanting to build a bounce email processor and I have been working in installing the IMAP functions for PHP... but it looks like I might not be able to do that easily on my current server... so my question is simple... does anyone know the comparative server load that using classes that use fsockopen to access mailboxes might exert as opposed to switching to a server that I could configure to use the IMAP functions?

For information, this is for an application that sends out a double opt-in mailing list
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Well, you're generally more portable if you can use fsockopen() as it's often enabled, whereas IMAP is often not installed. However IMAP will perform faster under the systems it can load.
Post Reply