<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
Hi Yuri,<br>
This should help: https://wiki.eprints.org/w/Sending_email_when_item_is_made_live_or_deposited<br>
<br>
The triggers have a 'priority'- which is defined after the main body of the trigger. Make sure that you don't set a return value for a trigger if you want all other triggers (of that type) to run too (if that doesn't make sense, I can explain in more detail).<br>
<br>
Cheers,<br>
John<br>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> eprints-tech-bounces@ecs.soton.ac.uk &lt;eprints-tech-bounces@ecs.soton.ac.uk&gt; on behalf of Yuri via Eprints-tech &lt;eprints-tech@ecs.soton.ac.uk&gt;<br>
<b>Sent:</b> 05 April 2019 08:16:11<br>
<b>To:</b> eprints-tech@ecs.soton.ac.uk<br>
<b>Subject:</b> Re: [EP-tech] Mail on deposit</font>
<div>&nbsp;</div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText"><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FSending_email_when_item_is_made_live_or_deposited&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ca395ce747f7649044e0108d6b9987d3a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=bIhR9VREWzXgZDGcOkOrYNHsDruVrmmMwpONNdC0q7o%3D&amp;reserved=0" originalSrc="https://wiki.eprints.org/w/Sending_email_when_item_is_made_live_or_deposited" shash="wlVA5Cncj4l2/sTc0GH//NTtABju160W5NIyHoeS0uU4+D8MWHlstTbz3MuL/WKJJ/seoZ+QZ8Mj83AyvS+DcFCLu9+nBOFjuqvaV5fo7yPrlfn3hTysz4wTJ2EFHRBOAP3X8WeV6GraTqcT3F7vFd/BBdmcGJg3zJ46L/T3om8=">https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.eprints.org%2Fw%2FSending_email_when_item_is_made_live_or_deposited&amp;amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C510c677e2e64441854ac08d6b996980b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;amp;sdata=5UMnSebZqLYes1gnVoguFEM1LIJ6KANZkHuhQ90GBH0%3D&amp;amp;reserved=0</a><br>
<br>
Sorry!<br>
<br>
A question:<br>
<br>
$c-&gt;add_dataset_trigger has some order or doing multiple add_dataset_trigger() are executed in random?<br>
<br>
Il 05/04/19 08:15, Yuri via Eprints-tech ha scritto:<br>
&gt; Hi!<br>
&gt;<br>
&gt;&nbsp;&nbsp; &nbsp;is there an howto or a guide on getting an email when someone deposit<br>
&gt; in the archive? I mean an immediate mail, not the daily report.<br>
&gt;<br>
&gt; Thanks!<br>
&gt;<br>
&gt;<br>
&gt; *** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
&gt; *** Archive: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ca395ce747f7649044e0108d6b9987d3a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=OIrXEk%2FVEoZoFzKu64v%2Fl9K3ZWhY9h5arthAR0ooHDQ%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="uQah28bCW7J+mS5M/gh44Dkex4EFZdvfnN1U/xFGYS9KPWRM0fVC/cdOH/LkQy4Fr6bmnMOqSqHSuWxZY4e9Zdo6T4WePq1uwAq2INAkvZbg8/z58oXUzSF5sXijRO4UpPGh5hLUhWZd3UhfnTBDQdCHhXWpMOixBNwDC7yb1n8=">
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C510c677e2e64441854ac08d6b996980b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;amp;sdata=xxuHAT5a3WRotMhCdW4Vjx2%2BHeK82C01tTn71aUyu6Y%3D&amp;amp;reserved=0</a><br>
&gt; *** EPrints community wiki: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ca395ce747f7649044e0108d6b9987d3a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=jFvXFQbQJWxTEDFyeT5%2Bw0KTC7jtkO9Fq4IdlwONojs%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="zBp//4QupT6ZUTD0OSJGlPhZbxO3uxHsa/+DEh+VC9rU14g2gKfeOEfrm1fsHEKRwCqSRFZ/+b+Bl7jHof1s0+tHbihGma47g5sTbxin4lnRuEkb2cm+N0kkEBM+ETpCnPMgqxrEiPWux2G6S/EyeSu48tUTQCAY2oX/YS/aTNQ=">
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C510c677e2e64441854ac08d6b996980b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;amp;sdata=dEqWfokOKyAqGDHrmVPAPLpypADVlDHIPE0KDHfYLGQ%3D&amp;amp;reserved=0</a><br>
&gt; *** EPrints developers Forum: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ca395ce747f7649044e0108d6b9987d3a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=x90VaQp06FI5GjE%2Fu6W%2BF5MCoQPTfaNyFl6uEVeoJ%2Fk%3D&amp;reserved=0" originalSrc="http://forum.eprints.org/" shash="O+gHKH8bP1jlcFjJ3m0munkhuCenjZ6SAgE7j/z0mdXqhAgJ2faXx8fkqCCRaeScWpChwsWva+titryZrYfFq8ES1uZPme8M8OIDLNEmZn+0wajL3GZUCTfh082MWU/s2lx7q10dJ2H/JKnSzhxGrddQIeeTXDejYAG5A2XNw/4=">
https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C510c677e2e64441854ac08d6b996980b%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;amp;sdata=ZKu%2FH1esNBKvScSCfKms8xdOloxsKLPwzwggelOKJOg%3D&amp;amp;reserved=0</a><br>
<br>
*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ca395ce747f7649044e0108d6b9987d3a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=OIrXEk%2FVEoZoFzKu64v%2Fl9K3ZWhY9h5arthAR0ooHDQ%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="uQah28bCW7J+mS5M/gh44Dkex4EFZdvfnN1U/xFGYS9KPWRM0fVC/cdOH/LkQy4Fr6bmnMOqSqHSuWxZY4e9Zdo6T4WePq1uwAq2INAkvZbg8/z58oXUzSF5sXijRO4UpPGh5hLUhWZd3UhfnTBDQdCHhXWpMOixBNwDC7yb1n8=">http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ca395ce747f7649044e0108d6b9987d3a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=jFvXFQbQJWxTEDFyeT5%2Bw0KTC7jtkO9Fq4IdlwONojs%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="zBp//4QupT6ZUTD0OSJGlPhZbxO3uxHsa/+DEh+VC9rU14g2gKfeOEfrm1fsHEKRwCqSRFZ/+b+Bl7jHof1s0+tHbihGma47g5sTbxin4lnRuEkb2cm+N0kkEBM+ETpCnPMgqxrEiPWux2G6S/EyeSu48tUTQCAY2oX/YS/aTNQ=">http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fforum.eprints.org%2F&amp;data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ca395ce747f7649044e0108d6b9987d3a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=x90VaQp06FI5GjE%2Fu6W%2BF5MCoQPTfaNyFl6uEVeoJ%2Fk%3D&amp;reserved=0" originalSrc="http://forum.eprints.org/" shash="O+gHKH8bP1jlcFjJ3m0munkhuCenjZ6SAgE7j/z0mdXqhAgJ2faXx8fkqCCRaeScWpChwsWva+titryZrYfFq8ES1uZPme8M8OIDLNEmZn+0wajL3GZUCTfh082MWU/s2lx7q10dJ2H/JKnSzhxGrddQIeeTXDejYAG5A2XNw/4=">http://forum.eprints.org/</a><br>
</div>
</span></font></div>
</body>
</html>