Emails Won't Be Sent By The Template for 3.6

Matt Rogers mattr at kde.org
Sun Apr 4 03:28:53 UTC 2010


On Thursday 01 April 2010 11:19:34 pm you wrote:
> On 03/31/2010 08:10 PM, Matt Rogers wrote:
> > That last part doesn't make sense to me. If you're calling
> > Bugzilla::BugMail::Send directly in the Perl code, how are you sending
> > its results to the template?
> 
> 	$vars->{'sent_bugmail'} = Bugzilla::BugMail::Send($bug_id,
> $vars->{'mailrecipients'};
> 
> > As a bugzilla admin who may have customized this template, what impact
> > would the bug really have on me?  That I can't templatize the email
> > anymore?
> 
> 	I'm talking about template/en/default/bug/process/bugmail.html.tmpl,
> not about template/en/default/email/newchangedmail.txt.tmpl.
> 
> 	This bug is about the way that bugmail is *sent*, not about its contents.
> 
> 	If you have custom code that was running the template
> template/en/default/bug/process/results.html.tmpl to send bugmail, you'd
> have to modify your code to send bugmail before processing that template.
> 
> 	-Max

Thanks for the explanation. :) 

Next time I will read the patch that comes with the bug report as well.
-- 
Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.bugzilla.org/pipermail/developers/attachments/20100403/b7e81278/attachment.sig>


More information about the developers mailing list