|
|
@ -4408,8 +4408,10 @@ static int load_config(void)
|
|
|
|
strncpy(fromstring,s,sizeof(fromstring)-1);
|
|
|
|
strncpy(fromstring,s,sizeof(fromstring)-1);
|
|
|
|
if ((s=ast_variable_retrieve(cfg, "general", "charset")))
|
|
|
|
if ((s=ast_variable_retrieve(cfg, "general", "charset")))
|
|
|
|
strncpy(charset,s,sizeof(charset)-1);
|
|
|
|
strncpy(charset,s,sizeof(charset)-1);
|
|
|
|
if ((s=ast_variable_retrieve(cfg, "general", "emailtitle")))
|
|
|
|
if ((s=ast_variable_retrieve(cfg, "general", "emailtitle"))) {
|
|
|
|
|
|
|
|
ast_log(LOG_NOTICE, "Keyword 'emailtitle' is DEPRECATED, please use 'emailsubject' instead.\n");
|
|
|
|
strncpy(emailtitle,s,sizeof(emailtitle)-1);
|
|
|
|
strncpy(emailtitle,s,sizeof(emailtitle)-1);
|
|
|
|
|
|
|
|
}
|
|
|
|
if ((s=ast_variable_retrieve(cfg, "general", "emailsubject")))
|
|
|
|
if ((s=ast_variable_retrieve(cfg, "general", "emailsubject")))
|
|
|
|
emailsubject = strdup(s);
|
|
|
|
emailsubject = strdup(s);
|
|
|
|
if ((s=ast_variable_retrieve(cfg, "general", "emailbody"))) {
|
|
|
|
if ((s=ast_variable_retrieve(cfg, "general", "emailbody"))) {
|
|
|
|