Changeset 5461
- Timestamp:
- 02/01/12 16:39:08 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/services/class.mail.php
r5316 r5461 161 161 public function addStringAttachment($file, $filename, $type, $encoding = 'base64', $disposition = 'attachment') 162 162 { 163 $this->mail->addAttachment($file, $type, $filename, false, $encoding, $disposition , $charset = '' , $language = '' , $location = '' , $n_encoding = ' base64');163 $this->mail->addAttachment($file, $type, $filename, false, $encoding, $disposition , $charset = '' , $language = '' , $location = '' , $n_encoding = 'quoted-printable', null , '' , 'ISO-8859-1'); 164 164 } 165 165 166 166 public function addFileAttachment($file, $filename, $type, $encoding = 'base64', $disposition = 'attachment') 167 167 { 168 $this->mail->addAttachment($file, $type, $filename, true, $encoding, $disposition, $charset = '' , $language = '' , $location = '' , $n_encoding = ' base64');168 $this->mail->addAttachment($file, $type, $filename, true, $encoding, $disposition, $charset = '' , $language = '' , $location = '' , $n_encoding = 'quoted-printable' , null , '' , 'ISO-8859-1'); 169 169 } 170 170
Note: See TracChangeset
for help on using the changeset viewer.