Dspace 7 Email configuration - Not showing subject

472 views
Skip to first unread message

Agustín Alfieri

unread,
Aug 7, 2023, 11:03:24 AM8/7/23
to DSpace Technical Support
Hello,

I'm trying to configure the different emails sent automatically by the system but I'm unable to get the subject of the email working. 

This happens with all the emails. For example, here's the code for [dspace]/config/emails/register:

# E-mail sent to DSpace users when they register for an account
##
## Parameters: {0} is expanded to a special registration URL
##
## See org.dspace.core.Email for information on the format of this file.
##
#set($subject = "This will be the Subject: of the message")
#set($phone = ${config.get('mail.message.helpdesk.telephone')})
Para completar el proceso de registro de su cuenta, por favor haga clic en el siguiente enlace:
  ${params[0]}
RepHipUNR - Repositorio Hipermedial UNR - http://rephip.unr.edu.ar


And here's the email. As you can see, there's no subject.
email.png

Is this a bug or am I setting something wrong?

Thanks,
Agustín.

Olayiwola Lawal

unread,
Aug 7, 2023, 11:10:39 AM8/7/23
to DSpace Technical Support
Hi Agustin,

I am currently facing same issue having upgraded to 7.6

I believe it's a bug discussed https://github.com/DSpace/DSpace/issues/8921 and we may have to wait till the next update for fix. 

If you do have a temporary fix for this, please let me know here.

Regards.

Mark H. Wood

unread,
Aug 7, 2023, 11:55:28 AM8/7/23
to dspac...@googlegroups.com
On Mon, Aug 07, 2023 at 08:10:38AM -0700, Olayiwola Lawal wrote:
> I am currently facing same issue having upgraded to 7.6
>
> I believe it's a bug discussed https://github.com/DSpace/DSpace/issues/8921 and
> we may have to wait till the next update for fix.

This was fixed for 7_x in https://github.com/DSpace/DSpace/pull/8952
and will be in 7.6.1 whenever that drops. You could merge it into
your local version now.

> On Monday, 7 August 2023 at 16:03:24 UTC+1 Agustín Alfieri wrote:
>
> > Hello,
> >
> > I'm trying to configure the different emails sent automatically by the
> > system but I'm unable to get the subject of the email working.
> >
> > This happens with all the emails. For example, here's the code for
> > *[dspace]/config/emails/register*:
> >
> > # E-mail sent to DSpace users when they register for an account
> > ##
> > ## Parameters: {0} is expanded to a special registration URL
> > ##
> > ## See org.dspace.core.Email for information on the format of this file.
> > ##
> > *#set($subject = "This will be the Subject: of the message")*
> > #set($phone = ${config.get('mail.message.helpdesk.telephone')})
> > Para completar el proceso de registro de su cuenta, por favor haga clic en
> > el siguiente enlace:
> > ${params[0]}
> > RepHipUNR - Repositorio Hipermedial UNR - http://rephip.unr.edu.ar
> >
> >
> > And here's the email. As you can see, there's no subject.
> > [image: email.png]
> >
> > Is this a bug or am I setting something wrong?
> >
> > Thanks,
> > Agustín.
> >
> >
>
> --
> All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx
> ---
> You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/682fd246-52fe-42c4-98f0-3d4001f2dd6an%40googlegroups.com.


--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu
signature.asc

Agustín Alfieri

unread,
Aug 11, 2023, 8:52:47 AM8/11/23
to DSpace Technical Support
I just merged your fix into my Dspace instance and it's working perfectly. Thanks a lot!!
Agustín.
Reply all
Reply to author
Forward
0 new messages