Menu

#76 Forward fax via email don't show the attach

open-fixed
Dave
None
5
2011-11-30
2011-11-30
No

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..

Discussion

  • Eduardo Diaz

    Eduardo Diaz - 2011-11-30
    • assigned_to: nobody --> dmimms
    • status: open --> open-fixed
     
  • Eduardo Diaz

    Eduardo Diaz - 2011-11-30

    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..

     

Log in to post a comment.