Extension talk:SemanticMailMerge

Jump to navigation Jump to search

About this board

Sends email regardless of updates

Clifford.kasper (talkcontribs)

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.

Reply to "Sends email regardless of updates"

Query for all pages with #ask where format=mailmerge?

Samwilson (talkcontribs)

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.

Reply to "Query for all pages with #ask where format=mailmerge?"
Kghbln (talkcontribs)

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.

 [[Recipient group::Tassie staff]]
 [[Approved for distribution::Yes]]
 |?News item

just to make sure how to use it. Even the above may be erroneous ...


Samwilson (talkcontribs)

Good idea! I was thinking of adding some more description like that. Your example is great; just the right idea. :-)

Kghbln (talkcontribs)

Cool, thank you for adding this nice example. I believe that saves a lot of people from a lengthy try and error phase. :)


Reply to "Expand usage section"
There are no older topics