Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to verify and create an email address with php

Discussion in 'E-mail Discussion' started by rodsem, Jan 5, 2006.

  1. rodsem

    rodsem Registered

    Jan 5, 2006
    Likes Received:
    Trophy Points:
    Hi everybody. I need help on this.

    I know how to create an e-mail with php using this code:

    fopen ("http://" "USER" ":" "PASSWORD" "@" "DOMAIN" ":" "2082" "/frontend/" "x" "/mail/doaddpop.html?email=" "ACCOUNT" "&domain=" "DOMAIN" "&password=" "PASSWORD" "&quota=" "20" """r");
    The problem is that, before this step, I need to check if the e-mail account exist or not under the specified domain in order to allow this PHP script to run or not. This is to create an automatic registration email system.

    :confused: Do anybody con tell me how to check is an e-mail account exist, and if it doesn't, then create it maybe using the above script, or other way that works in a PHP site?

    Thank you!
  2. fwwebs

    fwwebs Well-Known Member

    Feb 16, 2004
    Likes Received:
    Trophy Points:
    Checkout 's cP Account Creator. This script will verify that an email address is available and if so, create the account. Otherwise, check the add_email.php in the script for the verification code.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice