Hello, in avantfax 3.3.3 utiliry Forward fax via email dont run well. because don't include in the headers the file name..
--=_50a1e716078208f64185ba664df34bcd
Content-Transfer-Encoding: base64
Content-Type: application/pdf
Content-Disposition: attachment
JVBERi0xLjQKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVy
IC9GbGF0ZURlY29kZT4+CnN0cmVhbQp4nK1bSY8dxw1G1sP7FX1Lv8DTq
I think that the problem are in:
htmlMimeMail5.php the fuction:
private function addAttachmentParts(&$message)
{
foreach ($this->attachments as $value) {
$params['content_type'] = $value->contentType;
$params['encoding'] = $value->encoding->getType();
$params['disposition'] = 'attachment';
//$params['dfilename'] = $value->name;
$params['dfilename'] = "Fichero.pdf";
$message->addSubpart($value->data, $params);
}
I try change this but no trace...
The problem is if you use a Thunderbird client the attach don't show or show as "Part 2", because don't have name..
I solve the BUG:
Go to: include/htmlMimeMail5.php
Change in lines: 623 and 641
FROM:
$params['dfilename'] = $value->name;
TO
$params['filename'] = $value->name;
And now the send faxes show well..