How to create email id using shell_exec or exec in php?

How to create an email id using commands shell_execor execin PHP.

That is: I want to create an email id in my web application.

All help is appreciated.

+3
source share
3 answers

On Linux, you have several options, but most of them are not practical in terms of website scripts, as they require root permissions and / or significant changes to the server for initial setup.

  • add an entry to / etc / aliases to forward your new virtual mailbox to an existing account (on the same system or in another place) (root permission required)
  • ( root)
  • SMTP-, mysql dovecot ( postfix ). , , .
+1

php- , ​​ swiftmailer: http://swiftmailer.org/

"exec" , /.

0

@Tobias, shahul .

@shahul, ? GMail/Yahoo!, .. MTA, MTA, MTA ?

0

All Articles