Email?
Moderator: General Moderators
- elecktricity
- Forum Contributor
- Posts: 128
- Joined: Sun Sep 25, 2005 8:57 pm
- Location: Trapped in my own little world.
- Contact:
Email?
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.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
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?
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?
- elecktricity
- Forum Contributor
- Posts: 128
- Joined: Sun Sep 25, 2005 8:57 pm
- Location: Trapped in my own little world.
- Contact: