Page 1 of 1
email_set_category
Posted: 13 Oct 2008, 15:41
by duwil
Would someone please explain this option: "$g_email_set_category"
I thought it could set the "CATEGORY" in the subject line of emails but I can't get it to work, Should I set it like this:
$g_email_set_category = ON;
or like this:
$g_email_set_category = EMAIL_CATEGORY_PROJECT_CATEGORY;
And why in config_defaults_inc.php is stated that is tested only with MS Outlook? A subject line is a subject line no matter what email program you use, isn't it?
TIA
p.s. Mantis 1.1.2
---
Re: email_set_category
Posted: 14 Oct 2008, 06:31
by deboutv
That's because it is not added into the subject line...
Re: email_set_category
Posted: 15 Oct 2008, 07:00
by duwil
I knew I was missing something... Can you give me more details about this option? I look at email headers and I saw that there is "KEYWORDS" set with "project and category" but it's always set no matter what I write in this option. Anyway is it possible to put category in subject line in some other way without patching the code?
Thanks
---
Re: email_set_category
Posted: 16 Oct 2008, 06:40
by deboutv
No, it can't tell you, no it is not possible to set the category in the subject. You can install the HTLMmail plugin (see in my signature) and you will be able to custom the subject.
Re: email_set_category
Posted: 17 Oct 2008, 09:23
by duwil
... I still don't understand what this option does

It's now clear it has nothing to do with the subject line but what is its use?
---
Re: email_set_category
Posted: 20 Oct 2008, 13:20
by jb_mantis
I believe this option is intended to create/modify an email header that will supposedly allow for Outlook to be setup to automatically categorize the email.
Note this has nothing to do with the subject, but the category.
This option is not customized in my install, so here it is from config_defaults_inc.php:
# Specify whether e-mails should be sent with the category set or not. This is tested
# with Microsoft Outlook. More testing for this feature + other formats will be added
# in the future.
# OFF, EMAIL_CATEGORY_PROJECT_CATEGORY (format: [Project] Category)
$g_email_set_category = EMAIL_CATEGORY_PROJECT_CATEGORY;
In an email from mantis, I noticed this item in the header using Outlook 2007:
Keywords: [General] Printer
Above, General is the project name, Printer is the category.
Not sure how to get Outlook to take advantage of this field, but hope this helps.
I don't see a variable for configuring the subject line of the automated emails.
Re: email_set_category
Posted: 02 Mar 2011, 17:17
by zlatan24
jb_mantis wrote:I believe this option is intended to create/modify an email header that will supposedly allow for Outlook to be setup to automatically categorize the email.
Note this has nothing to do with the subject, but the category.
This option is not customized in my install, so here it is from config_defaults_inc.php:
# Specify whether e-mails should be sent with the category set or not. This is tested
# with Microsoft Outlook. More testing for this feature + other formats will be added
# in the future.
# OFF, EMAIL_CATEGORY_PROJECT_CATEGORY (format: [Project] Category)
$g_email_set_category = EMAIL_CATEGORY_PROJECT_CATEGORY;
In an email from mantis, I noticed this item in the header using Outlook 2007:
Keywords: [General] Printer
Above, General is the project name, Printer is the category.
Not sure how to get Outlook to take advantage of this field, but hope this helps.
I don't see a variable for configuring the subject line of the automated emails.
I've heard about similar problems. But I don't remember about the proper methods of solution. It's so fortunate that some days ago I by chance noticed one tool at the Inet. Probably it would become the good determination in this condition -
oversized pst recovery.