Re: [EP-tech] Mail on deposit

John Salter via Eprints-tech <[email protected]>
Newsgroups gmane.comp.web.eprints.devel
Message-ID <EMEW3|75d06af2cde8b93648049d5f30169924v348Yx14eprints-tech-bounces|ecs.soton.ac.uk|DB6PR0302MB27117E6CC175BE56D050C402C4510@DB6PR0302MB2711.eurprd03.prod.outlook.com>
Hi Yuri,
This should help: 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

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).

Cheers,
John
________________________________
From: [email protected] <[email protected]> on behalf of Yuri via Eprints-tech <[email protected]>
Sent: 05 April 2019 08:16:11
To: [email protected]
Subject: Re: [EP-tech] Mail on deposit

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

Sorry!

A question:

$c->add_dataset_trigger has some order or doing multiple add_dataset_trigger() are executed in random?

Il 05/04/19 08:15, Yuri via Eprints-tech ha scritto:
> Hi!
>
>    is there an howto or a guide on getting an email when someone deposit
> in the archive? I mean an immediate mail, not the daily report.
>
> Thanks!
>
>
> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive: 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
> *** EPrints community wiki: 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
> *** EPrints developers Forum: 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

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: 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
*** EPrints community wiki: 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
*** EPrints developers Forum: 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

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
*** EPrints developers Forum: http://forum.eprints.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.