SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2012
    Posts
    99
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    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?

  2. #2
    SitePoint Zealot
    Join Date
    Jun 2011
    Location
    Kolding, Denmark
    Posts
    108
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    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. 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/

  3. #3
    Keeper of the SFL StarLion's Avatar
    Join Date
    Feb 2006
    Location
    Atlanta, GA, USA
    Posts
    3,748
    Mentioned
    73 Post(s)
    Tagged
    0 Thread(s)
    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?
    Never grow up. The instant you do, you lose all ability to imagine great things, for fear of reality crashing in.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •