EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #05487


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] email to editor immediately after deposit


I think you should try a trigger like this:

$c->add_trigger( EP_TRIGGER_STATUS_CHANGE, sub {
        my %params = @_;
        my $eprints=$params->{dataobj};
        my $old_status=$params->{old_status};
        my $new_status=$params->{new_status};
        ...
        ...
        return EP_TRIGGER_OK;
}

  Enio

Il 11/03/2016 10:34, Roth-Steiner, Roland ha scritto:
Hi all,

how can I configure an archive to send an Email to the appropriate editor(s) immediately after deposit?

Thanks

.......................................
Roland Roth-Steiner
M.Sc. Wirtsch.-Inf., Dipl.-Bibl.
. Univ.- und Landesbibliothek
... Elektronische Informationsdienste
... Leitung Digitalisierungszentrum
. Magdalenenstr. 8, 64289 Darmstadt
+49 (0)6151 16-76280
.......................................

*** 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/