Hello Caryn,
yes this is possible. You got to change the email template and the source
which generates the email and uses the email template. In your example
this would be
[dspace-src]/dspace/config/emails/change_password and
[dspace-src]/dspace-api/src/main/java/org/dspace/eperson/Accountmanager.java
Then you got to run (assuming you are using 1.5.x) mvn package and ant
update and redeploy the application.
Hope that helps
Claudia Jürgen
> Hello, All~
>
> I'm in the process of updating the text of DSpace emails, and I'd like
> to add parameters - is this possible?
> For example, the change_password email has parameter {0}, which is a
> "special URL." Is it possible to add a parameter for username, or date,
> or ????
>
> Any help is appreciated!
>
> ~Caryn
>
> ~ ~ ~ change_password ~ ~ ~
> # Email sent to DSpace users when they forget their password.
> #
> # Parameters: {0} is expanded to a special URL
> #
> # See org.dspace.core.Email for information on the format of this file.
> #
> Subject: Change Password Request
> To change the password for your DSpace account, please click the link
> below:
>
> {0}
>
> If you need assistance with your account, please email
> [email protected] or call us at xxx-555-xxxx.
>
> The DSpace Team
>
> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
> Caryn Neiswender
> Digital Projects Specialist
> UC Irvine Libraries
> (949) 824-9086
>
> Thanksgiving Day comes, by statute, once a year;
> to the honest man it comes as frequently
> as the heart of gratitude will allow.
> ~Edward Sandford Martin
> ------------------------------------------------------------------------------
> Join us December 9, 2009 for the Red Hat Virtual Experience,
> a free event focused on virtualization and cloud computing.
> Attend in-depth sessions from your desk. Your couch. Anywhere.
> http://p.sf.net/sfu/redhat-sfdev2dev_______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
--
Claudia Jürgen
Eldorado - Repositorium der TU Dortmund
Universitätsbibliothek Dortmund
Vogeplothsweg 76
D-44227 Dortmund
Tel.: 0049-231-755-4043
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech