Email?

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
User avatar
elecktricity
Forum Contributor
Posts: 128
Joined: Sun Sep 25, 2005 8:57 pm
Location: Trapped in my own little world.
Contact:

Email?

Post by elecktricity »

Im really not sure even were to begin with this but would like some advice, if I wanted to make a mailing type of site, how would I receive the mail? im not even sure were to begin with that, and if so is there a way to add to a database? I really just need help with the receiving part after that I can probally figure the rest out.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Use the catch-all account. .. simple enough.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Just set up an IMAP or POP3 server, then use the IMAP functions in PHP to access the information. If you want to have PHP pick up email in realtime as it comes into the server then you'll want an MTA such as exim installing too which you can set up pipes to PHP scripts with (complex but doable -- I have it set up for collecting spam in a DB).

If it's pure web based email you want and you don't want to offer POP access then you can do it entirely using exim and PHP with the system fileter and MySQL database but again - it's complex.

Are you looking to set up something like mail2web.com or something that's exclusive to your server?
User avatar
elecktricity
Forum Contributor
Posts: 128
Joined: Sun Sep 25, 2005 8:57 pm
Location: Trapped in my own little world.
Contact:

Post by elecktricity »

thanks for the help, time to read =)

im just doing some tests possible to make some sort of mail site lol nothing to special or important
Post Reply