[EP-tech] Re: to connect my repository to the mail server
John Salter
J.Salter at leeds.ac.uk
Thu May 15 11:48:26 BST 2014
Ochoa,
This will also be useful – using ‘triggers’ is the more correct way of doing things in modern versions of EPrints:
http://www.eprints.org/tech.php/15819.html
Cheers,
John
From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of John Salter
Sent: 14 May 2014 14:01
To: 'eprints-tech at ecs.soton.ac.uk'
Subject: [EP-tech] Re: to connect my repository to the mail server
Hi Ochoa,
When you installed EPrints, or configured an archive, there should have been the option to specify a mail server.
This may be in:
~/lib/syscfg.d/settings.pl
For each repository, look in:
~/archives/ARCHIVEID/cfg/cfg.d/email.pl
- this will probably just use the configuration from the settings.pl file (unless you’ve configured anything specially for the archive)..
In terms of interacting with the deposit process, take a look at this:
http://www.eprints.org/tech.php/14586.html - the email gets slightly mangled:
This line:
my( $eprint, $old_status, $new_status ) = AT _;
Should be:
my( $eprint, $old_status, $new_status ) = @_;
In more recent versions of EPrints, this could/should be done using a trigger.
Hope that’s enough to get you started.
Cheers,
John
PS In your email signature (last line), you’ve got ‘http//:’ instead of ‘http://’
From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Alexander Ochoa Aguero
Sent: 12 May 2014 23:29
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Subject: [EP-tech] to connect my repository to the mail server
Some days ago I wrote:
Hi I am lookig for a solution to connect my repository to the mail server. I
would ike to send mensages to users when they change their password or its
depsit in publshed or is under review.
Ochoa
------------------------------------------------
MSc. Dr. Alexander Ochoa Agüero
Grupo de Seguimiento de los Recursos Humanos.
Escuela Latinoamericana de Medicina
Sitio Web Oficial de la ELAM: www.sld.cu/sitios/elam
<http://www.sld.cu/sitios/elam>
Visite el Por tal Web: Red de Egresados del Proyecto ELAM <http://www.redelam.elacm.sld.cu/redelam>
Actualice su Perfil de Egresado <https://docs.google.com/spreadsheet/viewform?formkey=dHowdV9rTjNDWmdxQi1wM0Q3ZjZQbkE6MQ> en Internet.<https://docs.google.com/spreadsheet/viewform?formkey=dHowdV9rTjNDWmdxQi1wM0Q3ZjZQbkE6MQ>
----------------------------------------------
MSc. Dr. Alexander Ochoa Agüero
PP Promoción de Salud
Departamento MGI
Escuela Latinoamericana de Medicina
Visite el http//:server-elam/cvmgi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20140515/8087c702/attachment.html
More information about the Eprints-tech
mailing list