<div dir="ltr"><br>Dear Sir/Madam<br><br> I had a problem that when I received a fax, asterisk would send an email with the attachment of the fax, however , the body "text contents" of the email never showed up.<br>
<br>I have investigated the issue and found out the following:<br><br>
<div style="border-width: medium medium 1pt; border-style: none none solid; border-color: -moz-use-text-color -moz-use-text-color windowtext; padding: 0in 0in 1pt; margin-left: 0.25in; margin-right: 0in;">
<p class="MsoNormal" style="margin-bottom: 0.0001pt; border: medium none; padding: 0in;">you need to modify the following script , //because it doesn’t send
the body in the mail properly<br></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt; border: medium none; padding: 0in;">#nano -w /var/lib/asterisk/bin/<a href="http://fax-process.pl">fax-process.pl</a></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt; border: medium none; padding: 0in;"><br></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; border: medium none; padding: 0in;">find: Content-Type: text/plain;</p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt; border: medium none; padding: 0in;"><br></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; border: medium none; padding: 0in;">one line above it has an additional
space after<span style=""> </span>"--$boundary"<span style=""> </span>which is causing the parts of the email to be
miss-ordered , and thus causing the body of the email -the text part- to be sent improperly<br></p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt; border: medium none; padding: 0in;"><br></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; border: medium none; padding: 0in;">just delete the space</p><p class="MsoNormal" style="margin-bottom: 0.0001pt; border: medium none; padding: 0in;">
<br></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; border: medium none; padding: 0in;"><br></p></div><div style="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup { position:absolute; z-index:9999; padding: 0px 0px; margin-left: 0px; margin-top: 0px; width: 240px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 13px;}</style></div>