Next: , Previous: listserv_getfile, Up: Functions Reference


9.4 listserv_getmail_template

— Function: char* listserv_getmail_template (struct listserv *l, const char *listname, const char *template);

Gets the actual mail template for list listname. The function searches for ">>> template" in listname.mailtpl, site.mailtpl and default.mailtpl in this order. Searching in the language.mailtpl is not performed.

When found listserv_getmail_template makes a copy of the template and returns it. Otherwise listserv_getmail_template returns empty string ("").