[ZendTo] Drop off reminder email does not contain full URL

Jules Jules at Zend.To
Thu Jun 22 12:41:00 BST 2017


Craig,

You need to set the setting
     'serverRoot'
in preferences.php.

The upgrade_preferences_php should have shown you that this was a new 
setting it had added.

It is mentioned in the ChangeLog for 4.25-3, which was where I 
introduced it.

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.

Cheers,
Jules.


On 22/06/2017 11:11, Craig Gilbert wrote:
>
> Hello all,
>
> When our drop off reminder emails go out, they don’t appear to have 
> the {$zendToURL} prepended to 
> ‘pickup.php?claimID={$claimID}&claimPasscode={$claimPasscode}&emailAddr=__EMAILADDR__’ 
> only the 
> ‘pickup.php?claimID={$claimID}&claimPasscode={$claimPasscode}&emailAddr=__EMAILADDR__’ 
> string is shown in the email. The initial drop off email has the full 
> ‘{$zendToURL}pickup.php?claimID={$claimID}&claimPasscode={$claimPasscode}&emailAddr=__EMAILADDR__’ 
> string in the email.
>
> I’ve checked dropoff_email.tpl but I can’t see anything obviously wrong.
>
> I’ve attached to screenshots to show the issue in detail.
>
> Kind Regards,
>
> *Craig Gilbert*
>
> *_Systems Architect_*
>
> /Nexus, Nexus House, St James' Boulevard, Newcastle upon Tyne, NE1 4AX/
>
> /Tel 0191 203 3268/
>
> **********************************************************************************
> Any views or opinions expressed by the sender of this message do not
> necessarily represent those of Nexus.
>
> This message is intended for the addressee only. It is confidential and
> may contain private or privileged information. It must not be copied or
> its contents disclosed to anyone other than the addressee. If it is
> delivered to you in error please destroy all copies of it immediately and
> contact the sender.
>
> Please note that neither Nexus nor the sender accepts any responsibility
> for viruses and it is your responsibility to scan or otherwise check this
> email and any attachments.
> ********************************************************************************** 
>
>
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto

Jules

-- 
Julian Field MEng CEng CITP MBCS MIEEE MACM

'Split apart, reunited, or adjusting for new conditions on the
  ground, a family is a double-edged sword. They're the best of times,
  the worst of times, your keys to the kingdom and the skeletons in
  your closet. If only we didn't have to eat dinner with them.'
  -- Mary, "In Plain Sight"

www.Zend.To
Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20170622/a86275db/attachment.html 


More information about the ZendTo mailing list