• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Plesk event handler

unlo

New Pleskian
Hello,

How can i use script for saving mail account creation/refresh information: NEW_MAILNAME and NEW_PASSWORD.

All working properly for NEW_MAILNAME:
#!/usr/local/bin/bash
echo ${NEW_MAILNAME} >> /home/user/test.log
echo $(NEW_PASSWORD) >>/home/user/test.log

cat /home/user/test.log
[email protected]

But not for password :( Password is empty..
In event handler`s table i saw, what NEW_MAILNAME set to Required in last cell, but not for NEW_PASSWORD.

So, can i use NEW_PASSWORD??
 
Back
Top