Generate mail event php-file

EVENT_NAME *
LID *
NAME *
DESCRIPTION *
SORT