/[smecontribs]/rpms/smeserver-vacation/contribs9/smeserver-vacation-1.1-bz6614-autodetect.html.patch
ViewVC logotype

Diff of /rpms/smeserver-vacation/contribs9/smeserver-vacation-1.1-bz6614-autodetect.html.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by unnilennium, Mon Jan 16 21:50:15 2017 UTC Revision 1.2 by unnilennium, Sun Feb 26 19:15:53 2017 UTC
# Line 5  diff -Nur smeserver-vacation-1.1.old/roo Line 5  diff -Nur smeserver-vacation-1.1.old/roo
5          exit(0) if ($no_msg_no_reply);          exit(0) if ($no_msg_no_reply);
6       }       }
7    
8  +    my $type = ($vacation_msg =~ m/^<html/ && $vacation_msg =~ m/<\/html>/  ) ? 'html':'plain';  +    my $type = ($vacation_msg =~ m/<html/ && $vacation_msg =~ m/<\/html>/  ) ? 'html':'plain';
9  +  +
10       $vacation_msg =~ s/\$SUBJECT/$subject/g;       $vacation_msg =~ s/\$SUBJECT/$subject/g;
11    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed