Email notification for server creation

Hi,

I want email notification to admin while creating new virtual server or virtual host.
Email contains below things

  1. FTP credential
  2. Mysql credential
  3. Link of webmail
  4. Link of phpmyadmin

Can anyone guide me how to do it in VirtualMin ?

In “Virtualmin -> System Settings -> Server Templates -> TEMPLATE -> Mail for Domain” you can define a template for an email that’s sent to the server owner when a server is created/updated. There are placeholders for a lot of things, the default message shows a number of them, and the Virtualmin FAQ has an extensive list of them.