<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div style="width:100%; font-size:initial; font-family:Calibri,'Slate Pro',sans-serif,sans-serif; color:rgb(31,73,125); text-align:initial; background-color:rgb(255,255,255)">
<br>
</div>
<div style="width:100%; font-size:initial; font-family:Calibri,'Slate Pro',sans-serif,sans-serif; color:rgb(31,73,125); text-align:initial; background-color:rgb(255,255,255)">
I reported the same issue a month or two ago. Ended up having to hard code the server root URL in the template file.</div>
<div style="font-size:initial; font-family:Calibri,'Slate Pro',sans-serif,sans-serif; color:rgb(31,73,125); text-align:initial; background-color:rgb(255,255,255)">
<br>
Howard</div>
<div style="font-size:initial; font-family:Calibri,'Slate Pro',sans-serif,sans-serif; color:rgb(31,73,125); text-align:initial; background-color:rgb(255,255,255)">
<br>
</div>
<div style="font-size:initial; font-family:Calibri,'Slate Pro',sans-serif,sans-serif; color:rgb(31,73,125); text-align:initial; background-color:rgb(255,255,255)">
<br>
</div>
<table width="100%" style="background-color:white; border-spacing:0px">
<tbody>
<tr>
<td colspan="2" style="font-size:initial; text-align:initial; background-color:rgb(255,255,255)">
<div style="border-style:solid none none; border-top-color:rgb(181,196,223); border-top-width:1pt; padding:3pt 0in 0in; font-family:Tahoma,'BB Alpha Sans','Slate Pro'; font-size:10pt">
<div><b>From: </b>Craig Gilbert</div>
<div><b>Sent: </b>Friday, June 23, 2017 4:28 AM</div>
<div><b>To: </b>Jules; ZendTo Users</div>
<div><b>Reply To: </b>ZendTo Users</div>
<div><b>Subject: </b>[Non-DoD Source] Re: [ZendTo] Drop off reminder email does not contain full URL</div>
</div>
</td>
</tr>
</tbody>
</table>
<div style="border-style:solid none none; border-top-color:rgb(186,188,209); border-top-width:1pt; font-size:initial; text-align:initial; background-color:rgb(255,255,255)">
</div>
<br>
<div>All active links contained in this email were disabled. Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser.
<br>
<br>
<hr>
<br>
<br>
<style>
<!--
@font-face
        {font-family:"Cambria Math"}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Consolas}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black}
a:link, span.MsoHyperlink
        {color:#0563C1;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:#954F72;
        text-decoration:underline}
pre
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black}
p.msonormal0, li.msonormal0, div.msonormal0
        {margin-right:0cm;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black}
span.EmailStyle18
        {font-family:"Calibri",sans-serif;
        color:windowtext}
span.HTMLPreformattedChar
        {font-family:Consolas;
        color:black}
span.EmailStyle21
        {font-family:"Calibri",sans-serif;
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
        {}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal"><a name="_MailEndCompose"><span style="color:#1F497D">Hi Jules,</span></a></p>
<p class="MsoNormal"><span style=""><span style="color:#1F497D"> </span></span></p>
<p class="MsoNormal"><span style=""><span style="color:#1F497D">Thanks for that – we already have ‘serverRoot’ set which appears to work for the initial drop off email, it’s just the reminder emails it doesn’t seem to be working for.</span></span></p>
<p class="MsoNormal"><span style=""><span style="color:#1F497D"> </span></span></p>
<p class="MsoNormal"><span style=""><span style="color:#1F497D">Thanks,</span></span></p>
<p class="MsoNormal"><span style=""><span style="color:#1F497D"> </span></span></p>
<div>
<p class="MsoNormal"><span style=""><b><span style="color:#1F497D">Craig Gilbert</span></b></span></p>
<p class="MsoNormal"><span style=""><b><u><span style="color:#1F497D">Systems Architect</span></u></b></span></p>
<p class="MsoNormal"><span style=""><span style="font-size:9.0pt; color:#1F497D"> </span></span></p>
<p class="MsoNormal"><span style=""><i><span style="font-size:9.0pt; color:#1F497D">Nexus, Nexus House, St James' Boulevard, Newcastle upon Tyne, NE1 4AX</span></i></span><span style=""><span style="font-size:9.0pt; color:#1F497D"></span></span></p>
<p class="MsoNormal"><span style=""><i><span style="font-size:9.0pt; color:#1F497D">Tel 0191 203 3268</span></i></span><span style=""><span style="color:#1F497D"></span></span></p>
</div>
<p class="MsoNormal"><span style=""><span style="color:#1F497D"> </span></span></p>
<span style=""></span>
<div>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="color:windowtext">From:</span></b><span lang="EN-US" style="color:windowtext"> Jules [Caution-mailto:Jules@Zend.To]<br>
<b>Sent:</b> 22 June 2017 12:41<br>
<b>To:</b> ZendTo Users <zendto@Zend.To>; Craig Gilbert <Craig.Gilbert@nexus.org.uk><br>
<b>Subject:</b> Re: [ZendTo] Drop off reminder email does not contain full URL</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Craig,<br>
<br>
You need to set the setting<br>
'serverRoot'<br>
in preferences.php.<br>
<br>
The upgrade_preferences_php should have shown you that this was a new setting it had added.<br>
<br>
It is mentioned in the ChangeLog for 4.25-3, which was where I introduced it.<br>
<br>
Sadly I could not find any reliable way of deducing the server's root URL from within the nightly cron job that sends out the reminders. From the web site code, it's easy (the end user's web browser will tell you if no one else does!). But not from a cron job.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<span style="font-size:12.0pt"></span></p>
<div>
<p class="MsoNormal">On 22/06/2017 11:11, Craig Gilbert wrote:</p>
</div>
<blockquote style="margin-top:5.0pt; margin-bottom:5.0pt">
<p class="MsoNormal">Hello all,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">When our drop off reminder emails go out, they don’t appear to have the<span style="font-family:Consolas">{$zendToURL}</span> prepended to ‘<span style="font-family:Consolas">pickup.php?claimID={$claimID}&claimPasscode={$claimPasscode}&emailAddr=__EMAILADDR__</span>’
only the ‘<span style="font-family:Consolas">pickup.php?claimID={$claimID}&claimPasscode={$claimPasscode}&emailAddr=__EMAILADDR__</span>’ string is shown in the email. The initial drop off email has the full ‘<span style="font-family:Consolas">{$zendToURL}pickup.php?claimID={$claimID}&claimPasscode={$claimPasscode}&emailAddr=__EMAILADDR__</span>’
string in the email.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’ve checked <span style="font-family:Consolas">dropoff_email.tpl</span>but I can’t see anything obviously wrong.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’ve attached to screenshots to show the issue in detail.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Kind Regards,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b><span style="">Craig Gilbert</span></b></p>
<p class="MsoNormal"><b><u><span style="">Systems Architect</span></u></b></p>
<p class="MsoNormal"><span style="font-size:9.0pt"> </span></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt">Nexus, Nexus House, St James' Boulevard, Newcastle upon Tyne, NE1 4AX</span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt">Tel 0191 203 3268</span></i></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif">**********************************************************************************<br>
Any views or opinions expressed by the sender of this message do not<br>
necessarily represent those of Nexus.<br>
<br>
This message is intended for the addressee only. It is confidential and<br>
may contain private or privileged information. It must not be copied or<br>
its contents disclosed to anyone other than the addressee. If it is<br>
delivered to you in error please destroy all copies of it immediately and<br>
contact the sender.<br>
<br>
Please note that neither Nexus nor the sender accepts any responsibility<br>
for viruses and it is your responsibility to scan or otherwise check this <br>
email and any attachments. <br>
**********************************************************************************<br>
<br>
<br>
</span></p>
<pre>_______________________________________________</pre>
<pre>ZendTo mailing list</pre>
<pre>ZendTo@zend.to < Caution-mailto:ZendTo@zend.to > </pre>
<pre>Caution-http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto < Caution-http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto > </pre>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman",serif"><br>
<br>
</span></p>
<pre>Jules</pre>
<pre> </pre>
<pre>-- </pre>
<pre>Julian Field MEng CEng CITP MBCS MIEEE MACM</pre>
<pre> </pre>
<pre>'Split apart, reunited, or adjusting for new conditions on the</pre>
<pre> ground, a family is a double-edged sword. They're the best of times,</pre>
<pre> the worst of times, your keys to the kingdom and the skeletons in</pre>
<pre> your closet. If only we didn't have to eat dinner with them.'</pre>
<pre> -- Mary, "In Plain Sight"</pre>
<pre> </pre>
<pre>Caution-www.Zend.To < Caution-http://www.Zend.To > </pre>
<pre>Twitter: @JulesFM</pre>
<pre>PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654</pre>
</div>
**********************************************************************************<br>
Any views or opinions expressed by the sender of this message do not<br>
necessarily represent those of Nexus.<br>
<br>
This message is intended for the addressee only. It is confidential and<br>
may contain private or privileged information. It must not be copied or<br>
its contents disclosed to anyone other than the addressee. If it is<br>
delivered to you in error please destroy all copies of it immediately and<br>
contact the sender.<br>
<br>
Please note that neither Nexus nor the sender accepts any responsibility<br>
for viruses and it is your responsibility to scan or otherwise check this <br>
email and any attachments. <br>
**********************************************************************************</div>
</body>
</html>