Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 01/27/2017 in all areas

  1. I've built a variation of this for a charity I do work for. We pick an address (e.g. first.last@clients.example.com), and that person starts to receive mail, typically appointment reminder type stuff. The clients.example.com domain has a catch-all mailbox on it. A cron sorts the mail into folders by "To" address and charity advocates can see the folders and view the mail sorted by person. Client access to own mail would be quite easy to add... The week I spent building my solution taught me more about mail servers, IMAP, and handling mail in PHP than I ever wanted to know. I'd left that option out intentionally in my post above since it's not the right way to do it, however it does work when built right, and should work on our servers. Just remember though: If you do this, it's a shared email account with users that have a filtered view, as opposed to proper separate email accounts. Make sure you use a good password on the default mail account itself (nobody should be accessing it outside of the software you develop, otherwise they'd see everybody's mail!).
    1 point
  2. It would be possible to do this without even using cpanel api. You could create a default email address in cpanel. What this does is ANYTHING that anyone emails to your domain ends up in this inbox. So even if you don't create krydos@example.com and someone sends an email it would end up in default@example.com if that was your default address. Then you could write a script in php or something to create accounts for people. Then when they log in to your script it looks through the default email address that has everyone's emails and only shows the ones that line up with their username.
    1 point
×
×
  • Create New...