NYCPHP Meetup

NYPHP.org

[nycphp-talk] Online POP3 and SMTP account creation using PHP

Tim Lieberman tim_lists at o2group.com
Sat Jul 14 19:39:35 EDT 2007


Wow, everyone's beat you up a bit. I'm not about to do your homework for 
you, but here's the way you should be thinking:

1) What POP3 server will you be using?
2) Can you be sure that the POP3 server will run on the same box as the 
web server?
3) How does that server store user information? in files, what kind of 
format? in a mySQL database? in an LDAP directory?
4) What features of PHP can you use to write to those files, or that 
database, or that directory?

AFAIK, the POP3 protocol has no facility for creating accounts, so 
account creation will not happen over POP3. You'll need to write some 
PHP to manage user accounts in whatever datastore the POP3 server uses.

A note about (2) above -- if the web app is required to deal with a 
remote POP3 server, you're going to have to figure out how to manipulate 
the user accounts on that remote server. If your POP3 server is using a 
file for user accounts, you'll need to figure out what mechanism you'll 
use to (securely!) modify that file remotely. If it's mySQL or LDAP, 
you'll have an easier time?

HTH

-Tim

Shadab Wadiwala wrote:
> Hello friends,
>
> I m working on a minor project using PHP/MySQL in my college.
> I have been assigned a tough task to do.
> The project is a web-based email service on the lines of Yahoo Mail 
> and Gmail.
>
> Actually I need to create an online POP3 account and an SMTP account 
> of an end-user in the email server using PHP.
> I don't have any experience in online POP3 and SMTP accounts creation 
> and not aware with the PHP codes to perform the specific task.
>
> So if u know any thing regarding the above mentioned task so pls help me.
>
> Thank you
>
>
> */_Shadab .I. Wadiwala_/*
> *_My homepage:--_ http://shadabworld.110mb.com*
>
> ------------------------------------------------------------------------
> Here’s a new way to find what you're looking for - Yahoo! Answers 
> <http://us.rd.yahoo.com/mail/in/yanswers/*http://in.answers.yahoo.com/>
> ------------------------------------------------------------------------
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php




More information about the talk mailing list