PDA

View Full Version : HELP!!! Mailbox Creation



lidios
10-20-2003, 06:22 PM
Is there any way (script/program) that visitors can be offered to create their own mailboxes (without having to create them from the CP)

DirectAdmin Support
10-20-2003, 11:00 PM
Hello,

You can just use the php class (found in the "3rd party software" part of the forum) to interface with DirectAdmin. To create email accounts, you'll use:

/CMD_EMAIL_POP with method POST (might need to modify the php class to handle "POST")
action=create
domain=domain.com
user=emailuser
passwd=the pass
passwd2=the pass
create=Create

Needless to say, some programming knowledege is required.

John

lidios
10-22-2003, 05:39 PM
Hello,

I looked at the php class and customized it for my account.

Now, where do I put the
<form action=/CMD_EMAIL_POP method=POST>
action=create
domain=domain.com
user=emailname
passwd=password
passwd2=password
create=Create

Thank You!

DirectAdmin Support
10-22-2003, 10:27 PM
Hello,

It requires a bit of knowledge on how to program to get it going.. you have to implement html forms, as well as php form parsing and then take those values and put them into the API class... it's quite basic, *if* you know how.. but it'll take a really nice person to do it for you :)

John