[Asterisk-Users] *HOWTO* : using mime-construct with outlook -
send fax to email recipient
Brian Dingman
bdingman at gmail.com
Tue Apr 26 08:50:07 MST 2005
Can anybody maybe help me a little here. I made the changes below...
but I don't think I did them exactly correct. When I get a fax now, it
is named:
_var_spool_asterisk_fax_1114530379.5.tif.pdf
I think the problem is with the second line.
$p .= cont "Content-Type: $type;\n name=" .
token_quote($arg) . "\n"
Thanks
On 2/7/05, Asterisk <asterisk at dotr.com> wrote:
> We've managed to setup spandsp to receive faxes and email them to the
> appropriate person.
>
> We did all of our testing using Thunderbird, and the attached pdf files
> worked very well. However, when we went "live", some people complained
> that the attachments in outlook were named <<subject>>.dat instead (for
> example) of 123456.pdf
>
> Having looked into the mime-construct script, we noticed a subtle
> difference between working Outlook attachments and Thunderbird. The
> differences are shown below in case anyone is interested.
>
> left is the original mime-construct, right is our modified version
>
> 332c332
> < $part_header .= "Content-Disposition: attachment; filename="
> ---
> > $part_header .= "Content-Disposition: inline; filename="
> 405c405
> < $p .= cont "Content-Type: $type\n"
> ---
> > $p .= cont "Content-Type: $type;\n name=" .
> token_quote($arg) . "\n"
>
> Outlook now names the attachment correctly, and Thunderbird also seems
> to work just as well with the changes.
>
> Hope someone finds this useful.
>
> Julian.
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
>
More information about the asterisk-users
mailing list