EPrints Technical Mailing List Archive
Message: #07123
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Ask about frequency of items-under-review mailings:
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Ask about frequency of items-under-review mailings:
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Date: Thu, 1 Feb 2018 08:29:45 +0000
Hi – you are trying to get_value(“email”) from a true/false value, rather than the config or the user record? Try changing the line to
My $staff_email = $staff->get_value( “email”) if( $user->is_staff() );
I think (not checked) for multiple addresses you would need to build them into an array in the to_email => value
Alan From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Ajunk Pracetio Hi , I already try your suggestion, and it works. But, when I try to use to_list and to_cc (https://wiki.eprints.org/w/API:EPrints/Email), I get error. If
to_email => blabla@comain.com and I want cc to other email address let say 5 people, what function I must use? When I try thy this method below, I get error
Error from var/log : Can't call method "get_value" without a package or object reference at (eval 663) line 20.\n On Wed, Jan 31, 2018 at 6:01 PM, John Salter <J.Salter@leeds.ac.uk> wrote:
Life isn't valuable if you don't have someone to care |
- Follow-Ups:
- Re: [EP-tech] Ask about frequency of items-under-review mailings:
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- Re: [EP-tech] Ask about frequency of items-under-review mailings:
- References:
- [EP-tech] Ask about frequency of items-under-review mailings:
- From: Ajunk Pracetio <prazetyo@gmail.com>
- Re: [EP-tech] Ask about frequency of items-under-review mailings:
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Ask about frequency of items-under-review mailings:
- From: Ajunk Pracetio <prazetyo@gmail.com>
- Re: [EP-tech] Ask about frequency of items-under-review mailings:
- From: John Salter <J.Salter@leeds.ac.uk>
- Re: [EP-tech] Ask about frequency of items-under-review mailings:
- From: Ajunk Pracetio <prazetyo@gmail.com>
- Re: [EP-tech] Ask about frequency of items-under-review mailings:
- From: "Alan.Stiles" <alan.stiles@open.ac.uk>
- [EP-tech] Ask about frequency of items-under-review mailings:
- Prev by Date: Re: [EP-tech] Ask about frequency of items-under-review mailings:
- Next by Date: Re: [EP-tech] Ask about frequency of items-under-review mailings:
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):