7 messages in com.mysql.lists.eventum-usersRe: The Issue # isn't applied to emai...| From | Sent On | Attachments |
|---|---|---|
| flem...@aon.dk | 04 Jan 2007 02:35 | |
| flem...@aon.dk | 11 Jan 2007 01:37 | |
| flem...@aon.dk | 12 Jan 2007 04:39 | |
| Bryan Alsdorf | 14 Jan 2007 20:53 | |
| flem...@aon.dk | 15 Jan 2007 01:54 | |
| Bryan Alsdorf | 15 Jan 2007 08:04 | |
| flem...@aon.dk | 15 Jan 2007 15:37 |
| Subject: | Re: The Issue # isn't applied to emails sent from Eventum [Virus Checked]![]() |
|---|---|
| From: | Bryan Alsdorf (bry...@mysql.com) |
| Date: | 01/15/2007 08:04:00 AM |
| List: | com.mysql.lists.eventum-users |
Hi,
flem...@aon.dk wrote:
Hi,
Thanks for your reply Bryan, but I can't seem to find file "class.subject.php". Please clarify !
My apologies, I sent that email late last night. It should be "class.support.php".
Best Regards, /bryan
Regards, Flemming
Bryan Alsdorf <bry...@mysql.com> 15-01-2007 05:53
To flem...@aon.dk cc even...@lists.mysql.com Subject Re: The Issue # isn't applied to emails sent from Eventum [Virus Checked]
Hi,
This code is the portion that does add the issue # to outgoing emails, however it looks to be functioning fine. I looked at the code and it appears that the method was not being called on when sending an email to a user NOT on the notification list. I have committed a fix for this.
In your own version to apply this fix, edit include/class.subject.php, the sendDirectEmail() method add this line at the top.
$subject = Mail_API::formatSubject($issue_id, $subject);
Best Regards, /bryan
flem...@aon.dk wrote:
Is this the place (see copied part of class.mail.php script) to correct
the problem with the missing Issue ID in outgoing mails ?
If yes - what to change ?
---------------------------------- /** * Correctly formats the subject line of outgoing emails/notes * * @access public * @param integer $issue_id The issue ID * @param string $subject The subject to be formatted * @return string The formatted subject */ function formatSubject($issue_id, $subject) { return "[#$issue_id] " . trim(preg_replace("/\[#$issue_id\] {0,1}/", '', $subject)); }
-----------------------------------------------
-- Bryan Alsdorf, Manager of Support Systems MySQL AB, www.mysql.com
Are you MySQL certified? www.mysql.com/certification




