Crontab to strip double-quotes for no email: MAILTO

Version 1.56.0


If you set a blank email value with the intent not to send any email, it's saved into crontab as: MAILTO="" however, DA was not stripping the "" values when showing what was set, so it caused confusion in the input field with value='""' DA now strips it so it won't show the double-quotes. If a valid email is set into crontab like this: MAILTO="" DA will also strip that out for the input field to use value='', as it would have similarly shown: value='""' which couldn't be saved like that.

Interested to try DirectAdmin? Get a 30-day Free Trial!