Hello. Thank you for this extension, it is proving itself to be very valuable. I do, however, have the following issue:
In my current configuration I have a template on each user page that pulls all comments related to them within the past 24 hours and assigns that to a property. The SemanticMailMerge page pulls all this information and compiles it into an email and sends it out a 1 AM via a cron job. On days where nobody has made a comment, the extension just sends out the same email as it did the last time (e.g. if nobody submitted a comment for 10 days, the last compiled email will be sent each morning for those 10 days.) I have the SMW_refresh.php also run automatically several times a day so the property values are always up to date. Any ideas if there is a cache or something I can clear to prevent this from happening? Thanks.
Extension talk:SemanticMailMerge
It'd be nice to not have to create a new DB table for this extension, which can just get out of date anyway.
Is it possible to get a list of #ask queries in a whole wiki that use format=mailmerge? I'm reading the code etc. but nothing jumps out at me.
Have a look at the help page on querying for queries.
Heiya Sam,
first of all thank you for rectifying my changes to the description. I did not really understand what was meant with it in the first place but I guess that I figured it out by now.
I propose to add an example query for this to the "Usage" section of the extension's page, e.g.
{{ #ask: [[Category:News]] [[Recipient group::Tassie staff]] [[Approved for distribution::Yes]] |?Email=To |?News item |format=mailmerge |template=Newsmail }}
just to make sure how to use it. Even the above may be erroneous ...
Cheers
Good idea! I was thinking of adding some more description like that. Your example is great; just the right idea. :-)
Cool, thank you for adding this nice example. I believe that saves a lot of people from a lengthy try and error phase. :)
Cheers