Page 1 of 1

How can I stop releasing being limited to once?

Posted: 16 Apr 2014 00:02
by cyberwired
Seems emails don't always get released or go through for whatever reason, then when user tries to rerelease it they get this message:
Your message has not been released from quarantine.
Our system indicates that this message has already been released once, or the original notification message has expired. Notification messages to release spam expire after 3 days. Your message can be released again by accessing your spam quarantine.
How do I change it to allow them to release a second time?

Re: How can I stop releasing being limited to once?

Posted: 18 Apr 2014 19:59
by shawniverson
This can be done, but I say it with caution as it would require rewriting the code and extending it to allow this...(definitely will consider this, especially if it helps others)

The system is designed to allow a single release of the message. This is to prevent the public from clicking on release message repeatedly should the message link itself leak to the public Internet

The default is 3 days....perhaps a better option is to extend the duration?

If so, take a look in /etc/cron.daily/EFA-Tokens-cron

Code: Select all

 $sql = "DELETE from tokens WHERE datestamp < DATE_SUB(NOW() , INTERVAL 3 DAYS)
Change 3 DAYS to whatever you would like instead.

Also, if you want to change the messages as well...edit

/var/www/html/notreleased.html
/var/www/html/notlearned.html

I can definitely make this configurable in EFA-Configure as well.