How can I stop releasing being limited to once?

Questions and answers about how to do stuff
Post Reply
cyberwired
Posts: 33
Joined: 03 Jan 2014 21:57

How can I stop releasing being limited to once?

Post 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?
User avatar
shawniverson
Posts: 3649
Joined: 13 Jan 2014 23:30
Location: Indianapolis, Indiana USA
Contact:

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

Post 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.
Post Reply