7 messages in com.mysql.lists.eventum-usersRe: The Issue # isn't applied to emai...
FromSent OnAttachments
flem...@aon.dk04 Jan 2007 02:35 
flem...@aon.dk11 Jan 2007 01:37 
flem...@aon.dk12 Jan 2007 04:39 
Bryan Alsdorf14 Jan 2007 20:53 
flem...@aon.dk15 Jan 2007 01:54 
Bryan Alsdorf15 Jan 2007 08:04 
flem...@aon.dk15 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)); }

-----------------------------------------------

Are you MySQL certified? www.mysql.com/certification