We all know how to open a mailbox using imap_open
. Here the problem is i'm creating a maill system here. I'm not able to find to create a mail account with imap/pop3
in php
. Is it is possible ?
Assume suppose my domain is www.studentmug.com. I want to create a mail for another user with out using cPanel. Ex:- [email protected]
. I'm not finding any script for it in IMAP
section. could any one got this problem or solution ?
Please share your opinions & suggestions - Thanks in advance.
You are on wrong way, you can not use IMAP
or POP
protocol commands to create a new user account. IMAP
or POP
protocols are used to access mails from existing mailbox on server.
Probably you should check whether any CLI command library is provided by your domain service provider or not. It it provides any CLI support than you can create a new email account with those commands (without using cPanel).
Note that you can create a new mailbox using imap_createmailbox, but can not add new user account.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With