Creating an Email Account using PHP?

Discussion in 'Programming' started by boxcar, Feb 12, 2009.

  1. #1
    I have a GoDaddy dedicated server running PHP/MySQL and Simple Control Panel.

    I would like to be able to use a script (PHP) that allows me to create (and optionally delete) an email address on the fly (programmatically). Is this possible?
     
    boxcar, Feb 12, 2009 IP
  2. Asus-Games

    Asus-Games Peon

    Messages:
    582
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have a script that makes "virtual email accounts" and requires one email account on the server. It's very reliable and you can add and delete accounts at your wish. Requirements:

    - MYSQL Database 3.0 or Higher
    - PHP 4.0 or Higher
    - 1 Email Account
    - The Ability to send all emails received into one account ( catch all )
     
    Asus-Games, Feb 12, 2009 IP
  3. boxcar

    boxcar Peon

    Messages:
    449
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Do you have this working somewhere?
     
    boxcar, Feb 12, 2009 IP
  4. Asus-Games

    Asus-Games Peon

    Messages:
    582
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Asus-Games, Feb 12, 2009 IP
  5. boxcar

    boxcar Peon

    Messages:
    449
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I would need to make some modifications for what I need (i.e. deleting the account after a set period of inactivity i.e. 5 days). Deleting messages when there are too many in the inbox (i.e. more that 30). I would also require verification of their email address before logging in.

    I also have an issue with catch all accounts. If I get a lot of spam, it could harm my relay limit no?

    Overall, it looks good. Are you selling this script?
     
    boxcar, Feb 12, 2009 IP
  6. madguy24

    madguy24 Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Wow ..excellent .. Does it work for any server with any or no control panel ?
     
    madguy24, Feb 12, 2009 IP
  7. Asus-Games

    Asus-Games Peon

    Messages:
    582
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I generally sell hosting accounts with it on there at:

    http://usersite.com/email

    I normally don't sell the script since it is pretty valuable ( you modify it enough and you end up with a free email provider ). It can be run on many control panels, and i'm sure if you knew enough ssh you could make it run without one. I know it works on Cpanel, Direct Admin and Lxadmin.

    If you use Cpanel or Direct Admin it automatically shoves the spam in the spam folder, thus no one ever sees it and SMTP never has to transport it back and forth.

    If your going to just use it on one or two sites I could sell it for $10. If you want to place it on every site you know ( selling it ) I could allow you to sell it for $90.00. If you really want to go on the cheap end, buy my $4.00 a year Direct Admin hosting plan and ask me to store it for you ;) .
     
    Asus-Games, Feb 12, 2009 IP
  8. boxcar

    boxcar Peon

    Messages:
    449
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Is this the same script as: pinoyphpmail-1.0.2?
     
    boxcar, Feb 12, 2009 IP
  9. Asus-Games

    Asus-Games Peon

    Messages:
    582
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #9
    No, I've made some mods to it. I was planning on adding a contacts section in the next few weeks. The pinoyPHP model that I have ( 0.9 ) has no reply to or forward. So I added that and a quota management so that each user can have his/her own quota provided you edit the database. I was also going to add an admin in the next week or two. If you want you can wait for the admin.
     
    Asus-Games, Feb 12, 2009 IP
  10. boxcar

    boxcar Peon

    Messages:
    449
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    I have no problem with paying for the script. It is only for one site. I do need to have the ability of removing the account (once logged in...user can optionally delete his/her account and admin can optionally delete the account after set # of hours). I tried deploying the pinoy script and a prior version of your script (craigweb?) and both are successful in logging in but neither allows me access to the email window. I know that it reports an authentication error but I think it has something to do with the fact that I do not have CPanel installed. Is that a requirement? I have SCP (Simple Control Panel).

    Anyway, I will pay you $20 for the script if you can add the features that I talked about above and tell me why my deployment does not work?

    I can PM more details.
     
    boxcar, Feb 12, 2009 IP
  11. Asus-Games

    Asus-Games Peon

    Messages:
    582
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #11
    The reason why theirs doesn't work is because it's only for logging into existing Pop3 or SMTP accounts. This script uses a email account on the server to collect email. IDK anything about SCP or how it works i'm pretty sure this will work. You'll have to wait a week before I can have those 2 features added, I hope you understand. If I do add the delete after a number of hours it would have to be cron job based.
     
    Asus-Games, Feb 13, 2009 IP
  12. boxcar

    boxcar Peon

    Messages:
    449
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I sent you a PM. It is better than continuing this here. Thank you so much for your help.
     
    boxcar, Feb 13, 2009 IP