[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Mail on deposit



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&data=01%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ca395ce747f7649044e0108d6b9987d3a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=bIhR9VREWzXgZDGcOkOrYNHsDruVrmmMwpONNdC0q7o%3D&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: eprints-tech-bounces at ecs.soton.ac.uk <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of Yuri via Eprints-tech <eprints-tech at ecs.soton.ac.uk>
Sent: 05 April 2019 08:16:11
To: eprints-tech at ecs.soton.ac.uk
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20190405/881c1408/attachment-0001.html