diff options
-rw-r--r-- | it_mail.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_mail.class b/it_mail.class index d67effb..aa36b35 100644 --- a/it_mail.class +++ b/it_mail.class @@ -147,7 +147,7 @@ function add_attachment($data, $mimetype = "application/octet-stream", $name = ' $name = 'Attachment' . (count($this->attachments) + 1); $cid = md5(uniqid(rand())); - $this->attachments[] = array ('mimetype' => $mimetype, 'data' => $data, 'encode' => $encode, 'name' => $name, 'cid' => $cid); + $this->attachments[] = array ('mimetype' => $mimetype, 'data' => $data, 'name' => $name, 'cid' => $cid); return 'cid:'.$cid; } |