<div dir="ltr"><div>I'm not entirely sure that'll be the case. For me, ZendTo emails are sent from PHP via Sendmail, which equates to <PHP Process user>@<hostname>.<br><br></div>This is a better explanation of a workaround (as long as there are no other emails sent by that machine): <a href="http://mailman.ecs.soton.ac.uk/pipermail/zendto/2012-November/001855.html">http://mailman.ecs.soton.ac.uk/pipermail/zendto/2012-November/001855.html</a><br><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><br>Kris Lou<br><a href="mailto:klou@themusiclink.net" target="_blank">klou@themusiclink.net</a></div></div>
<br><div class="gmail_quote">On Wed, Nov 9, 2016 at 8:18 AM, Matthew Moore <span dir="ltr"><<a href="mailto:MooreM10@cardiff.ac.uk" target="_blank">MooreM10@cardiff.ac.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Keith,<br>
<br>
So if the user accesses <a href="http://zend.to" rel="noreferrer" target="_blank">zend.to</a> via the new domain, the new domain will be in the emails.<br>
<br>
That's a nice easy fix. Thanks for that. I was going to put a redirect in with apache anyway.<br>
Cheers,<br>
<span class=""><br>
Matthew Moore<br>
<br>
Senior Server Engineer and Team Leader<br>
University IT Service<br>
Cardiff University<br>
42 Park Place<br>
Cardiff<br>
CF10 3BB<br>
Tel: <a href="tel:%2B44%20%280%2929%202087%200867" value="+442920870867">+44 (0)29 2087 0867</a><br>
Email: <a href="mailto:moorem10@cardiff.ac.uk">moorem10@cardiff.ac.uk</a><br>
<br>
Matthew Moore<br>
<br>
<br>
Gwasanaeth TG y Brifysgol<br>
Prifysgol Caerdydd<br>
42 Plas y Parc<br>
Caerdydd<br>
CF10 3BB<br>
Ffôn : <a href="tel:%2B44%20%280%2929%202087%200867" value="+442920870867">+44 (0)29 2087 0867</a><br>
E-bost: <a href="mailto:moorem10@cardiff.ac.uk">moorem10@cardiff.ac.uk</a> <br>
<br>
<br>
______________________________<wbr>__________<br>
</span>From: <a href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a> <<a href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a>> on behalf of Keith Erekson <<a href="mailto:kbe2@lehigh.edu">kbe2@lehigh.edu</a>><br>
Sent: 09 November 2016 16:10:21<br>
To: ZendTo Users<br>
Subject: Re: [ZendTo] Changing dropoff link in emails sent out<br>
<div class="HOEnZb"><div class="h5"><br>
The URL is assembled in lib/NSSDropbox.php, and the domain name comes<br>
from the $_SERVER['SERVER_NAME'] env variable.<br>
<br>
This means it uses whichever domain name the users are hitting to access<br>
the site.<br>
<br>
To "phase out" an old domain, you can just configure your web server to<br>
redirect the old one to the new one, perhaps with mod_rewrite.<br>
<br>
~Keith<br>
<br>
<br>
On 11/09/2016 11:01 AM, Matthew Moore wrote:<br>
> Hi all,<br>
><br>
> My <a href="http://zend.to" rel="noreferrer" target="_blank">zend.to</a> installation has two domain names, I'm trying to phase one out. However it happens to be the domain which is used in the email which is sent out to users. How do I change that email address?<br>
><br>
> I can't find an option in any of the config files to change it.<br>
><br>
> Thanks,<br>
><br>
> Matthew Moore<br>
><br>
> Senior Server Engineer and Team Leader<br>
> University IT Service<br>
> Cardiff University<br>
> 42 Park Place<br>
> Cardiff<br>
> CF10 3BB<br>
> Tel: <a href="tel:%2B44%20%280%2929%202087%200867" value="+442920870867">+44 (0)29 2087 0867</a><br>
> Email: <a href="mailto:moorem10@cardiff.ac.uk">moorem10@cardiff.ac.uk</a><br>
><br>
> Matthew Moore<br>
><br>
><br>
> Gwasanaeth TG y Brifysgol<br>
> Prifysgol Caerdydd<br>
> 42 Plas y Parc<br>
> Caerdydd<br>
> CF10 3BB<br>
> Ffôn : <a href="tel:%2B44%20%280%2929%202087%200867" value="+442920870867">+44 (0)29 2087 0867</a><br>
> E-bost: <a href="mailto:moorem10@cardiff.ac.uk">moorem10@cardiff.ac.uk</a> <br>
><br>
><br>
> ______________________________<wbr>_________________<br>
> ZendTo mailing list<br>
> <a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
> <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/zendto</a><br>
<br>
<br>
______________________________<wbr>_________________<br>
ZendTo mailing list<br>
<a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/zendto</a><br>
<br>
______________________________<wbr>_________________<br>
ZendTo mailing list<br>
<a href="mailto:ZendTo@zend.to">ZendTo@zend.to</a><br>
<a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto" rel="noreferrer" target="_blank">http://mailman.ecs.soton.ac.<wbr>uk/mailman/listinfo/zendto</a></div></div></blockquote></div><br></div></div>