<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Yes, that's easy too.<br>
    <br>
    Around the same lines in NSSDropoff.php you'll see this:<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $emailSubject =
    $smarty-&gt;getConfigVariable('PickupEmailSubject');<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // The subject line can have a %s in it, so used it as a
    template.<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $emailSubject = sprintf($emailSubject, $whoWasIt);<br>
    <br>
    Change that last line to say this instead:<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $emailSubject = sprintf($emailSubject, $whoWasIt,
    $fileList[0]['basename']);<br>
    <br>
    and now in the definition of "PickupEmailSubject" in your
    /opt/zendto/config/zendto.conf, you can say things like<br>
    <br>
    PickupEmailSubject = '[ZendTo] %s has picked up %s from your
    drop-off!'<br>
    <br>
    or whatever wording you choose. The first "%s" is replaced with the
    person who picked it up, the 2nd one with the name of the file they
    picked up.<br>
    <br>
    Jules.<br>
    <br>
    <div class="moz-cite-prefix">On 30/07/2012 16:00, Marlon R Deerr
      wrote:<br>
    </div>
    <blockquote
      cite="mid:A08EE36822E7184AA48B7F0B031BB51905BCBD08@TGF-Exch2.TGF.local"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Times New Roman \, serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
span.EmailStyle25
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D">Even more
            perfect. Works just fine.&nbsp; I&#8217;m curious...is there a way to
            include the name of the picked up file in the subject line
            as well?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Marlon<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p>&nbsp;</o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext"
                  lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext"
                lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a>
                [<a class="moz-txt-link-freetext" href="mailto:zendto-bounces@zend.to">mailto:zendto-bounces@zend.to</a>] <b>On Behalf Of </b>Jules<br>
                <b>Sent:</b> July-30-12 10:47 AM<br>
                <b>To:</b> ZendTo Users<br>
                <b>Subject:</b> [ZendTo] Re: Is is possible to identify
                what file was picked up?<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
        <p class="MsoNormal" style="margin-bottom:12.0pt">Sorry, called
          totally the wrong function. That one's for handling URIs, I
          meant to use the one for text. Try this line instead:<br>
          <br>
          $smarty-&gt;assign('filename',
          htmlentities($fileList[0]['basename'], ENT_NOQUOTES,
          'UTF-8'));<br>
          <br>
          (all the above on 1 line in case your mailer wrapped it)<o:p></o:p></p>
        <div>
          <p class="MsoNormal">On 30/07/2012 15:15, Marlon R Deerr
            wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span style="color:#1F497D">Hello Julian,</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">&nbsp;</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">Perfect...it
              works as stated, however I noticed that when a file being
              dropped off has spaces in the name, it will replace the
              spaces with a plus (+) sign. For instance, in the
              notification email sent back, it would say something like
              this:</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">&nbsp;</span><o:p></o:p></p>
          <p class="MsoPlainText"><b><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">The
                file Name+of+dropoff+file.pdf.pdf was picked up</span></b><o:p></o:p></p>
          <p class="MsoPlainText">&nbsp;<o:p></o:p></p>
          <p class="MsoPlainText"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">This
              is a little hard on the eyes to follow, especially if the
              name of file has many spaces.&nbsp; Any way of fixing this so
              spaces are shown as expected.</span><o:p></o:p></p>
          <p class="MsoPlainText"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
          <p class="MsoPlainText"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Thanks,</span><o:p></o:p></p>
          <p class="MsoPlainText"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Marlon</span><o:p></o:p></p>
          <p class="MsoPlainText">&nbsp;<o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">&nbsp;</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D">&nbsp;</span><o:p></o:p></p>
          <div>
            <div style="border:none;border-top:solid #B5C4DF
              1.0pt;padding:3.0pt 0in 0in 0in">
              <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext"
                    lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:windowtext"
                  lang="EN-US"> <a moz-do-not-send="true"
                    href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a>
                  [<a moz-do-not-send="true"
                    href="mailto:zendto-bounces@zend.to">mailto:zendto-bounces@zend.to</a>]
                  <b>On Behalf Of </b>Julian Field<br>
                  <b>Sent:</b> July-30-12 4:47 AM<br>
                  <b>To:</b> ZendTo Users<br>
                  <b>Subject:</b> [ZendTo] Re: Is is possible to
                  identify what file was picked up?</span><o:p></o:p></p>
            </div>
          </div>
          <p class="MsoNormal">&nbsp;<o:p></o:p></p>
          <p class="MsoNormal" style="margin-bottom:12.0pt">This one's
            remarkably easy actually, very good idea!<br>
            Edit /opt/zendto/lib/NSSDropoff.php and around line 662
            you'll see this code<br>
            <br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $smarty-&gt;assign('whoWasIt', $whoWasIt);<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $smarty-&gt;assign('claimID',
            $this-&gt;_claimID);<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $smarty-&gt;assign('remoteAddr',
            $_SERVER['REMOTE_ADDR']);<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $smarty-&gt;assign('hostname',
            gethostbyaddr($_SERVER['REMOTE_ADDR']));<br>
            <br>
            Add this line in the middle of that lot (I put it just after
            the claimID line:<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $smarty-&gt;assign('filename',
            urlencode($fileList[0]['basename']));<br>
            and then edit /opt/zendto/templates/pickup_email.tpl and
            edit the text to tell them about the filename which you can
            get by using the string<br>
            &nbsp;&nbsp;&nbsp; {$filename}<br>
            in that file. I just added the line<br>
            &nbsp;&nbsp;&nbsp; The file {$filename} was picked up.<br>
            to pickup_email.tpl.<br>
            <br>
            Let me know if it works okay for you!<br>
            <br>
            <br>
            <o:p></o:p></p>
          <div>
            <p class="MsoNormal">On 28/07/2012 19:42, Marlon R Deerr
              wrote:<o:p></o:p></p>
          </div>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <p class="MsoNormal"><span lang="EN-US">I have a user who
                sends out drop-offs for external recipient however her
                drop-off often times contains several attachments for
                that one drop-off.&nbsp; When an external recipient picks up
                some (but not all) of the files in the drop-off, the
                confirmation email sent back to the sender identifies
                that the drop-off was picked up (and from what source IP
                address) but it doesn&#8217;t identify exactly which file in
                the drop-off was picked up.</span><o:p></o:p></p>
            <p class="MsoNormal"><span lang="EN-US">&nbsp;</span><o:p></o:p></p>
            <p class="MsoNormal"><span lang="EN-US">Is there a way to
                have this identified as well in the confirmation email
                sent back to the sender of the drop-off?</span><o:p></o:p></p>
            <p class="MsoNormal"><span lang="EN-US">&nbsp;</span><o:p></o:p></p>
            <p class="MsoNormal"><span lang="EN-US">&nbsp;</span><o:p></o:p></p>
            <p class="MsoNormal"><span
                style="font-size:12.0pt;font-family:&quot;Times New
                Roman , serif&quot;,&quot;serif&quot;"><br>
                <br>
                <br>
                <br>
              </span><o:p></o:p></p>
            <pre>_______________________________________________<o:p></o:p></pre>
            <pre>ZendTo mailing list<o:p></o:p></pre>
            <pre><a moz-do-not-send="true" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><o:p></o:p></pre>
            <pre><a moz-do-not-send="true" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a><o:p></o:p></pre>
          </blockquote>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;font-family:&quot;Times New Roman
              , serif&quot;,&quot;serif&quot;"><br>
              <br>
              <br>
            </span><o:p></o:p></p>
          <pre>Jules<o:p></o:p></pre>
          <pre>&nbsp;<o:p></o:p></pre>
          <pre>-- <o:p></o:p></pre>
          <pre>Julian Field MEng MBCS CITP CEng<o:p></o:p></pre>
          <pre>email+iMessage: <a moz-do-not-send="true" href="mailto:Jules@ecs.soton.ac.uk">Jules@ecs.soton.ac.uk</a><o:p></o:p></pre>
          <pre>Senior Tutor, Postmaster<o:p></o:p></pre>
          <pre>Electronics and Computer Science<o:p></o:p></pre>
          <pre>University of Southampton SO17 1BJ, UK<o:p></o:p></pre>
          <pre>&nbsp;<o:p></o:p></pre>
          <pre>Follow me at twitter.com/JulesFM<o:p></o:p></pre>
          <pre>&nbsp;<o:p></o:p></pre>
          <pre>'The paths we take sometimes lead us away from people we know and<o:p></o:p></pre>
          <pre>love. But in the end what matters is that we affect the lives of<o:p></o:p></pre>
          <pre>others for the better somehow, whomever we are, whatever our story.<o:p></o:p></pre>
          <pre>Obsession always destroys what it intended to nurture: but if<o:p></o:p></pre>
          <pre>you're able to let yourself love honestly and without fear, maybe<o:p></o:p></pre>
          <pre>that huge heart you have will somehow set you free.' - Eve Lockhart<o:p></o:p></pre>
          <pre>&nbsp;<o:p></o:p></pre>
          <pre>'That is the land of lost content,<o:p></o:p></pre>
          <pre> I see it shining plain,<o:p></o:p></pre>
          <pre> The happy highways where I went,<o:p></o:p></pre>
          <pre> And cannot come again.' - A.E. Houseman<o:p></o:p></pre>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;font-family:&quot;Times New
              Roman&quot;,&quot;serif&quot;"><br>
              <br>
              <br>
              <o:p></o:p></span></p>
          <pre>_______________________________________________<o:p></o:p></pre>
          <pre>ZendTo mailing list<o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a><o:p></o:p></pre>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;font-family:&quot;Times New
              Roman&quot;,&quot;serif&quot;"><br>
              <br>
              <o:p></o:p></span></p>
          <pre>Jules<o:p></o:p></pre>
          <pre><o:p>&nbsp;</o:p></pre>
          <pre>-- <o:p></o:p></pre>
          <pre>Julian Field MEng CITP CEng<o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://www.Zend.To">www.Zend.To</a><o:p></o:p></pre>
          <pre><o:p>&nbsp;</o:p></pre>
          <pre>Follow me at twitter.com/JulesFM<o:p></o:p></pre>
          <pre>PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<o:p></o:p></pre>
          <pre><o:p>&nbsp;</o:p></pre>
          <pre>'It's okay to live without all the answers' - Charlie Eppes, 2011<o:p></o:p></pre>
          <pre>'All programs have a desire to be useful' - Tron, 1982<o:p></o:p></pre>
          <pre>'That is the land of lost content,<o:p></o:p></pre>
          <pre> I see it shining plain,<o:p></o:p></pre>
          <pre> The happy highways where I went,<o:p></o:p></pre>
          <pre> And cannot come again.' - A.E. Houseman<o:p></o:p></pre>
        </blockquote>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
      <br>
      <pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>

Follow me at twitter.com/JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'It's okay to live without all the answers' - Charlie Eppes, 2011
'All programs have a desire to be useful' - Tron, 1982
'That is the land of lost content,
 I see it shining plain,
 The happy highways where I went,
 And cannot come again.' - A.E. Houseman
</pre>
    </blockquote>
  </body>
</html>