Changeset 4089 for trunk/gsdl/perllib


Ignore:
Timestamp:
2003-04-07T14:27:48+12:00 (21 years ago)
Author:
jrm21
Message:

added "\n" to headers as we weren't picking up messages that were only
sent as text/html content type (as opposed to multipart/mixed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/EMAILPlug.pm

    r3726 r4089  
    192192    $Headers =~ s/\r?\n\r?\n(.*)$//s;
    193193    $$textref = $1;
     194    $Headers .= "\n";
    194195   
    195196    # Unfold headers - see rfc822
     
    896897  $charset=~s/ks_c_5601_1987/korean/;
    897898
    898   if ($charset eq "utf_8") {
     899  if ($charset eq "utf_8" || !$$textref) {
    899900      # nothing to do!
    900901      return;
Note: See TracChangeset for help on using the changeset viewer.