Jump to content

gazp

Member
  • Posts

    1
  • Joined

  • Last visited

About gazp

gazp's Achievements

Junior Member

Junior Member (1/3)

0

Reputation

  1. I am trying to get WHMCS to pass variables to a script that registers new email addresses. I have the shell command postfixadmin-cli set up to create new email addresses and I have a product order working that accepts custom fields (validated email address and password fields). However, I'm not sure how to get these fields passed to a shell script. Would I use the CustomFieldSave hook to achieve this? The bash script that I need to call look like this: ```bash #!/bin/bash -x uaddress=$1 upassword=$2 postfixadmin-cli mailbox add $useraddress --password $upassword --password2 $upassword ```
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated