<div dir="ltr">Greetings -<div><br></div><div>There are a number of small but annoying problems with the content of templates/dropoff_email.tpl file that I&#39;ve been wrestling into submission.</div><div><br></div><div>Most stem from stray spaces at the end of lines. Sounds daft I know, but the message is composed and sent as &quot;format-flowed&quot;, which tells the recipient&#39;s email program to look for any lines ending &quot;space&lt;CR&gt;&lt;LF&gt;&quot; and join them with the next then reflow the result.</div>
<div><br></div><div>This means that some on the lines of the dropoff email join onto previous ones and look weird.</div><div><br></div><div>To fix edit the standard config/dropoff_email.tpl as follows:</div><div><ul style>
<li style>Line 2: (after the line beginning &quot;This is an…&quot;<br>Delete all the spaces that are present on this meant-to-be-blank line.<br><br></li><li style>Line 9:<br>Says &quot;If you wish to contact the sender, just reply to this email.&quot; but our messages get sent out from a &quot;do-not-reply&quot; address as set with EmailSenderAddress in conf/zendto.conf. I think I read recently that ZendTo no longer forges the sender&#39;s email address for messages it sends out, so presumably this statement should no longer be present?<br>
<br></li><li style>Line 27: (the one before the line beginning &quot;-- File…&quot;<br>Delete all the spaces that are present on this meant-to-be-blank line.<br><br></li><li style>Line 31: (The &quot;Description&quot; of a file)<br>
When no description text is entered then this leaves the message&#39;s line ending with &quot;space&lt;CR&gt;&lt;LF&gt;&quot;, which causes the next line (Size) to be joined to the Description line and reflowed. A (not ideal) fix is to change<br>
Description:     {$f.description}<br>to<br>Description:     {if $f.description ne &quot;&quot;}&quot;{$f.description}&quot;{else}(None){/if}.<br><br>Note: the final &quot;.&quot;, seems to be needed to stop the parser from swallowing the newline after the &quot;{/if}&quot; and joining with the next line anyway.</li>
</ul><div style>I wish I could improve on the final edit to avoid the need for the final &quot;.&quot; but I&#39;m not familiar enough with the idiosyncrasies of whatever parses the templates. Any offers…? :-)</div><div style>
<br></div><div style>Cheers,</div><div style>Mike B-)</div><div style><br></div>-- <br><font size="1"><font face="&#39;arial narrow&#39;, sans-serif"><span style="font-size:small">IT Services, The University of York, Heslington, York YO10 5DD, UK<br>
Tel: +44-1904-323811</span><span style="font-size:small"><br>Disclaimer: &lt;</span><a href="http://www.york.ac.uk/docs/disclaimer/email.htm" target="_blank"><span style="font-size:small">http://www.york.ac.uk/docs/disclaimer/email.htm</span></a><span style="font-size:small">&gt;</span></font><br>
</font>
</div></div>