Emails Won't Be Sent By The Template for 3.6

Max Kanat-Alexander mkanat at bugzilla.org
Fri Apr 2 04:19:34 UTC 2010


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
-- 
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.



More information about the developers mailing list