Lines Matching refs:att
144 foreach ($this->requestAttachments as $att) {
147 $params['content_type'] = $att['contenttype'];
150 $params['dfilename'] = $att['filename'];
151 $params['cid'] = $att['cid'];
153 if ($att['data'] == '' && $att['filename'] <> '') {
154 if ($fd = fopen($att['filename'], 'rb')) {
155 $data = fread($fd, filesize($att['filename']));
162 $mimeMessage->addSubpart($att['data'], $params);
384 foreach ($this->responseAttachments as $att) {
387 $params['content_type'] = $att['contenttype'];
391 $params['dfilename'] = $att['filename'];
392 $params['cid'] = $att['cid'];
394 if ($att['data'] == '' && $att['filename'] <> '') {
395 if ($fd = fopen($att['filename'], 'rb')) {
396 $data = fread($fd, filesize($att['filename']));
403 $mimeMessage->addSubpart($att['data'], $params);