Committer: amyshkin
LJSUP-12613: Excess text in the messageU trunk/cgi-bin/LJ/Hooks/ESN.pm
Modified: trunk/cgi-bin/LJ/Hooks/ESN.pm =================================================================== --- trunk/cgi-bin/LJ/Hooks/ESN.pm 2012-06-21 13:01:57 UTC (rev 12153) +++ trunk/cgi-bin/LJ/Hooks/ESN.pm 2012-06-21 13:34:05 UTC (rev 12154) @@ -63,7 +63,7 @@ to => $ev->as_email_to($u), from => $ev->as_email_from(), fromname => scalar($ev->as_email_from_name($u)), - wrap => 1, + wrap => $ev->can('wrap') ? $ev->wrap() : 1, charset => $u->mailencoding || 'utf-8', subject => $email_subject, headers => \%headers,