Parent Directory | Revision Log | Patch
revision 1165 by dpavlin, Thu Jul 2 18:28:17 2009 UTC | revision 1166 by dpavlin, Thu Jul 2 18:43:22 2009 UTC | |
---|---|---|
# | Line 22 sub send { | Line 22 sub send { |
22 | my $to = qq{"$ime $prezime" <$email>}; | my $to = qq{"$ime $prezime" <$email>}; |
23 | ||
24 | $body =~ s{^\s+}{}gm; # strip whitespace at beginning of line | $body =~ s{^\s+}{}gm; # strip whitespace at beginning of line |
25 | $body =~ s{<br>}{\n}gs; | |
26 | $body =~ s{<[^>]+/?>}{}gs; # strip html | $body =~ s{<[^>]+/?>}{}gs; # strip html |
27 | ||
28 | my $m = Email::Simple->create( | my $m = Email::Simple->create( |
|
ViewVC Help | |
Powered by ViewVC 1.1.26 |