Hi,
As you probably know, cronjob emails are sent in plain text format (Content-Type: text/plain; charset=UTF-8).
I wanted to change that to html (Content-Type: text/html; charset=UTF-8) without sending cron output to custom script for sending emails.
After little googling, I discovered that this can be achieved by adding this line to users crontab file:
And it works great. But, there is a problem: when I change crontab file through DA interface, crontab is re-created and manually made changes are gone (CONTENT_TYPE parameter). Then I have to go to crontab file and add CONTENT_TYPE again.
Is there some easy solution for this problem?
As you probably know, cronjob emails are sent in plain text format (Content-Type: text/plain; charset=UTF-8).
I wanted to change that to html (Content-Type: text/html; charset=UTF-8) without sending cron output to custom script for sending emails.
After little googling, I discovered that this can be achieved by adding this line to users crontab file:
Code:
CONTENT_TYPE="text/html; charset=utf-8"
And it works great. But, there is a problem: when I change crontab file through DA interface, crontab is re-created and manually made changes are gone (CONTENT_TYPE parameter). Then I have to go to crontab file and add CONTENT_TYPE again.
Is there some easy solution for this problem?