Is it possible to create a ftp account with email address?

itsmeka

Registered
Nov 25, 2013
1
0
1
cPanel Access Level
Root Administrator
I want to create create a ftp account from my php script with a email address. Now, I can create an account with username.

Is it possible to create ftp account with email address?

please help me. thanks
 

MikeDVB

Well-Known Member
PartnerNOC
Jun 4, 2008
218
3
68
Indiana, USA
You mean you want the username to be an email address?

If so - theoretically it's possible in the sense that any added FTP accounts will be [email protected]. It wouldn't be possible to do it for domains that are add-ons or parked [as the FTP accounts always use the primary domain].

That said - if you can elaborate why you're wanting to do this you may get better advice.
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
Hello :)

The authentication details for email accounts and FTP accounts are separate. However, you could develop a script that creates both email and FTP accounts with the same login credentials. Information on developing software for cPanel and our API is available at:

cPanel - SDK

Thank you.