We moved this page to our Documentation Portal. You can find the latest updates here. |
Question
Can I automate emails for the WHMCS OnApp module, with VM username, password and IP addresses, using the WHMCS automated email functionality?
Environment
OnApp WHMCS module (archived)
Answer
There are two email templates related to OnApp events:
Virtual Machine Created (sent when a user creates a VM)
Virtual Machine Deleted (sent when a user deletes a VM).
You can automate emails for these two events. Use the following email placeholders within these templates to send VM details:
- Username { $service_username} (root for linux and administrator for windows)
- Password { $service_password}
- Assigned IPs { $service_assigned_ips} (all IP addresses assigned to a VM)
- Server Hostname { $service_server_hostname} (VM hostname)
- Config. Options { $service_config_options} (An array of additional resources and OS Templates configuration)