Users own email inbox in application

Hey guys and gals

What i would like to do is have it so every time a user creates an account on my site they get an email address along this line username@umail.mydomain.tld and then i would store that “email” address in a database. what i would like to be able to do is something like zendesk does so when an email is sent to support@somthing.zendesk.com it creates a support ticket only i want an email to be crated in the database (ok so i could handle that) and i know how i could send emails sent by users.

It’s just receiving and working with it. I know some of this well fall under the server section… i am just finding little topics on google.

I know i would have to send email to a php script, so when the script accessed that how could i manipulate it?

As for email user creation from php, you need to look for email server that supports either creating user from command line (vpopmail comes in mind) or some sort REST API. [URL=“http://context.io/”]context.io could be worth checking out.
Receiving and handling emails is best left to mail server, php script can use IMAP/POP to check incoming emails and make required actions. Another option for that is use third party service to handle incoming email and notify your app, for example, Sendgrid - http://docs.sendgrid.com/documentation/api/event-api/

Or you could just have a catchall email, which gets parsed by a script, and filters the email out that way…

Are you running this on your own server that you have full access to? Or are you trying to do this on a hosting service where you have no access to install programs?