开发者

create mail account on server via php

开发者 https://www.devze.com 2023-03-31 20:33 出处:网络
i have programmed small mail reader script and linked it with my website script My question is i want allow my website users to make them mail on my server

i have programmed small mail reader script

and linked it with my website script

My question is

i want allow my website users to make them mail on my server

IMAP email on my domain

Question is:

How to create email on server via php

i searched in i开发者_JAVA百科map library and found no thing

thank you and sorry for my language!


That depends entirely on your configuration. I, for example, use Postfix with Dovecot and have MySQL store the users. If I want to add a user, I simply run INSERT INTO MAIL.USERS ('un@domain', ENCRYPT('password')). I got a couple of different sets of instructions here.

Of course, this was for CentOS, so you may need to do a bit more research.


$str = 'adduser user1';

exec($str);
0

精彩评论

暂无评论...
验证码 换一张
取 消