Changeset 75f0a73 in github


Ignore:
Timestamp:
Feb 13, 2008 12:13:19 AM (5 years ago)
Author:
till <till@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
aec82bd
Parents:
66f12a4
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/mail/sendmail.inc

    r606fc01 r75f0a73  
    267267    else 
    268268    { 
    269       $MAIL_MIME->addAttachment($attachment['path'], $attachment['mimetype'], $attachment['name'], true, 'base64', 'attachment', $message_charset); 
     269      /* 
     270        We need to replace mime_content_type in a later release because the function 
     271        is deprecated in favour of File_Info 
     272      */ 
     273      $MAIL_MIME->addAttachment($attachment['path'], mime_content_type($attachment['path']), $attachment['name'], true, 'base64', 'attachment', $message_charset); 
    270274    } 
    271275  } 
Note: See TracChangeset for help on using the changeset viewer.