There are a number of configurations available to the SMTP Appender present in the JavaMail api (i.e. CC lists and display names for email addresses).
Created attachment 5892 [details] Patch to add cc and priority options
Any chance this patch can be reviewed and if accepted applied to CVS?
Does anyone check these bugs/patches????????
Jon: a) us developers work at jobs. This is all volunteer. Please be patient (& nicer too, if you could). b) I cannot seem to properly apply your patch against the current HEAD of the log4j project, it only seems to add the getBufferSize property when I apply this patch throught Eclipse, and the result otherwise looks odd when I try it via other means. I think this is the result of your patch being made against versio 1.31 of the class, and it's since moved on to version 1.34. Could you create a new Unified diff format patch against the latest HEAD for us to consider (Having a look at your patch file I can see no reason against the change). Paul Smith
Paul, even if Jon has legitimate reasons to complain about the lack of reaction on the part of log4j committers, please do not apply a patch that you do not understand. I was unable to understand Jon's patch. -- Ceki
If you still care about this, enough to submit a patch in proper diff -u format, against CVS HEAD, then please do so when reopening this issue.
Created attachment 16885 [details] patch against 11/5/2005 head with priority and cc options
Patch against head provided.
I've dropped the X-Priority header support. My understanding is that X-Priority is not standard (hence the X-) and was originally intended to indicate the timeliness of the message so that less urgent messages (say involving a conference 6 months in advance) could be sent at night when long-distance rates were cheaper. There is also a X-MS-Priority used by MS Outlook. Since the JavaMail API people didn't decide to add it the API level, I hesitant to do it here. I did add a bcc property and added an extension point (the addressMessage method) that you could override to do any additional tweaking of the message that is desired. Committed in rev 438983 against 1.2 branch and 438984 against trunk.