Welcome Guest, Not a member yet? Register   Sign In
Reading POP3 Email... or widgetize?
#1

[eluser]codelearn[/eluser]
Hey guys,

I have a general question to the experienced PHP'ers in this forum. My company (a dot com) wants to enable its users to be able to read their POP email from our page instead of through their regular email source.

My question is about the resource intensity of the various PHP scripts which I found on the web that enable me to do this exact thing. We have a fairly large amount of users, and I know that sites like Mail2Web have a large server farm to handle this sort of thing.

Anyone here in the know about a CI Library written for this purpose, or the resources necessary to run an operation of that scale?

Thanks.

EDIT: Forgot to mention: our second option is to partner with a company like Mail2Web so they can provide us with the necessary widget.
#2

[eluser]Eric Cope[/eluser]
I may be reading your post incorrectly, but would any of these work for you?
http://www.squirrelmail.org/
http://www.horde.org/
http://roundcube.net/

They are not CI to my knowledge (please don't flame me), but they do allow you to read pop mail via the web.
#3

[eluser]ekeretex[/eluser]
I agree with Eric here. You're better off not re-inventing the wheel here.
RoundCube is really slick (though it's still in beta) and is skinnable so you can easily integrate it with your site.
#4

[eluser]codelearn[/eluser]
[quote author="ekeretex" date="1200974562"]I agree with Eric here. You're better off not re-inventing the wheel here.
RoundCube is really slick (though it's still in beta) and is skinnable so you can easily integrate it with your site.[/quote]

Agreed... my main concern however is 10,000 people using this every day.
#5

[eluser]ekeretex[/eluser]
Should work if you're on a VPS or on your own box.
Go ahead and install it on a test box and load test it to make sure.

I use httperf but this page has a list of various load testing tools.
#6

[eluser]sophistry[/eluser]
http://codeigniter.com/wiki/imap_pop_class/
#7

[eluser]phpwebdev[/eluser]
[quote author="sophistry" date="1201306293"]http://codeigniter.com/wiki/imap_pop_class/[/quote]


Is there any way to get (download) attachment files on emails with Your class ?
#8

[eluser]sophistry[/eluser]
http://ellislab.com/forums/viewthread/59858/

that link is another thread with a recent post about this class.

there's not much external documentation but, there are lots of comments in the code!

basically, you need to look at the code and look for the file writing section.
you'll need two things: a directory that the webserver has write permissions to and and attachment in an email.

use the wiki page example to get an email. once you can do that, just add these two functions
then run the class functions:

// set your attachement path
set_IMAP_attachment_dir('path/to/dir')
// get first email in queue and store the attachment
grab_email_as_array_and_store(1)

HTH.
#9

[eluser]Mohammad Fakira[/eluser]
how can we use that attachment code ???

give any examples please to retrieve attachment from email

thank you
#10

[eluser]sophistry[/eluser]
looks like EllisLab recently detached their old wiki pages and moved everything to github wiki:

[url=https://github.com/EllisLab/CodeIgniter/wiki/peeker
]https://github.com/EllisLab/CodeIgniter/wiki/peeker
[/url]

unfortunately, they also detached the extensive thread attached to the old wiki page...

there is documentation at the peeker github site:

http://github.com/sophistry/peeker




Theme © iAndrew 2016 - Forum software by © MyBB