Changeset 1783
- Timestamp:
- 10/19/06 20:29:51
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/plagger/assets/plugins/Publish-Gmail/gmail_notify.tt
r1077 r1783 3 3 <html> 4 4 <head> 5 <meta http-equiv="Content-Type" content="text/html;charset= utf-8" />5 <meta http-equiv="Content-Type" content="text/html;charset=[% encoding %]" /> 6 6 </head> 7 7 <body> trunk/plagger/lib/Plagger/Plugin/Publish/Gmail.pm
r1781 r1783 67 67 } 68 68 69 my $body = $self->templatize('gmail_notify.tt', { feed => $feed }); 69 my $encoding = $self->conf->{encoding} || 'utf-8'; 70 my $body = $self->templatize('gmail_notify.tt', { feed => $feed, encoding => $encoding }); 70 71 71 72 my $cfg = $self->conf; … … 86 87 $msg->replace("X-Mailer" => "Plagger/$Plagger::VERSION"); 87 88 88 my $encoding = $self->conf->{encoding} || 'utf-8';89 89 $msg->attach( 90 90 Type => "text/html; charset=$encoding",
