Crontab to strip double-quotes for no email: MAILTO

Version 1.56

Bugfix
Finished

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="some@email.com" DA will also strip that out for the input field to use value='some@email.com', as it would have similarly shown: value='"some@email.com"' which couldn't be saved like that.

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