EPrints Technical Mailing List Archive

Message: #01388


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

[EP-tech] Re: Notify on Approve


At the Open University, we have recently implemented a function (with the kind help of eprints services!) to send a notification to the depositor plus the authors of an article when the article is moved to live from the buffer (it doesn't include editors but could do with a simple modification).  It makes use of the username entry in the creators fields and user table to identify local authors (and get their email address from the user table) so may not be entirely helpful outside of our configuration, but it may be of some help?

Alan 
Repository Developer - Open Research Online (http://oro.open.ac.uk)
Library Services, The Open University, MK7 6AA, United Kingdom

-----Original Message-----
From: Yuri [mailto:yurj@alfa.it] 
Sent: 13 December 2012 14:05
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Notify on Approve

Il 13/12/2012 14:29, Dimitrakakis Georgios ha scritto:
> Indeed it's working!
>
> The only problem is that it doesn't send e-mail to the Editors but
> only to the authors as long as their e-mails are on the corresponding
> "z_notify_authors.pl" file.
>
> Is there any way to bypass/modify this/other file and send e-mail
> directly to the e-mail of the depositing user rather than the authors?

user->mail() does it by default. Check the code you can find on other 
plugins (the reject one does send an email to the user).

>
> Best,
>
> G.
>
>> Il 13/12/2012 12:44, Dimitrakakis Georgios ha scritto:
>>> I was wondering if someone has used the "Notify on Approve"
>>> functionality (found here: http://files.eprints.org/623/ ) with
>>> EPrints version 3.3.7 or higher!
>>>
>>> I see that there is a file for v.3.2.
>>>
>>> Is it going to work with v.3.3?
>>>
>> try it. Looking at it, it is quite similare to Move.pm so should work.
>> *** 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/
>>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> *** 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/

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

-- 
The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).