Cancel action on unsubscribe

Use this forum for questions regarding adoption and functionality of OpenEMM

Moderator: moderator

MrD
Posts: 1
Joined: Sun Nov 02, 2014 6:03 pm

Cancel action on unsubscribe

Post by MrD »

Hi,

I will be using a rather long sequence of mails on an action and would like to ensure that users that have unsubscribed from my list does not get these mails, I have not found a function to do such. I have tested both to unsubscribe, delete and black-list an user and it does still get all the emails in the sequence.

After digging a bit in the code I found that all the mails is created when the action is activated, i.e. if the action has 10 mails all is created at once and stored in "openemm/var/spool/META" directory, using a filename that includes what time the email shall be sent. As follows

-rw-rw-r-- 1 openemm openemm 77 Nov 2 17:58 AgnMail=D20141102185841=1=31=1CE00000015=liaMngA.final
-rw-rw-r-- 1 openemm openemm 77 Nov 2 17:58 AgnMail=D20141102185841=1=31=1CE00000015=liaMngA.stamp
-rw-rw-r-- 1 openemm openemm 121333 Nov 2 17:58 AgnMail=D20141102185841=1=31=1CE00000015=liaMngA.xml.gz

Is there any built in function in OpenEMM to delete mails in the META folder for users that unsubscribe? Or any other way to ensure that users that unsubscribe does not get any more mails?

Best Regards,
Daniel