mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Removed 'mailto:' in email notifications
SVN revision: 528
This commit is contained in:
parent
44dc2dd5df
commit
90182aa6dc
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.105 2003/05/12 14:00:20 midas
|
||||||
|
Removed 'mailto:' in email notifications
|
||||||
|
|
||||||
Revision 1.104 2003/05/08 19:57:59 midas
|
Revision 1.104 2003/05/08 19:57:59 midas
|
||||||
Option 'selection page' can now contain absolute URL
|
Option 'selection page' can now contain absolute URL
|
||||||
|
|
||||||
@ -9388,6 +9391,8 @@ char list[MAX_PARAM][NAME_LENGTH], url[256], comment[256];
|
|||||||
{
|
{
|
||||||
j = build_subst_list(lbs, slist, svalue, attrib);
|
j = build_subst_list(lbs, slist, svalue, attrib);
|
||||||
strsubst(mail_from, slist, svalue, j);
|
strsubst(mail_from, slist, svalue, j);
|
||||||
|
if (strncmp(mail_from, "mailto:", 7) == 0)
|
||||||
|
strcpy(mail_from, mail_from+7);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
sprintf(mail_from, "ELog@%s", host_name);
|
sprintf(mail_from, "ELog@%s", host_name);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user