Useful php functions
Get the current process in the system_settings.php
The current process is stored in the $_session parameter:
$processName = $_SESSION['hwm_context']['request_id']
hwm_get_user_clients()
hwm_send_smtp_mail()
To send a mail, you can use the hwm_send_smtp_mail() function. The function uses the SMTP-configuration set in etc/hwm_config.php
.
Example usage:
Last updated