Changes for page Notification
on 2015/10/30 09:50
on 2015/10/30 09:55
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -16,8 +16,8 @@ 16 16 (% style="font-family: sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: start; line-height: 19.6px;" %) 17 17 Set the sender informations. 18 18 19 -* (% style="font-size: 14px; text-align: start; background-color: rgb(245, 245, 245);" %)email is a string representing the email address of the sender.20 -* (% style="font-size: 14px;text-align: start; background-color: rgb(245, 245, 245);" %)title is a string representing his name.19 +* email is a string representing the email address of the sender. 20 +* title is a string representing his name. 21 21 22 22 (% style="font-family: sans-serif; font-style: normal; text-align: start;" %) 23 23 === (% style="font-size: 20.44px;" %)setReplyTo(email, title)(%%) === ... ... @@ -25,8 +25,8 @@ 25 25 (% style="font-family: sans-serif; font-size: 14px; font-style: normal; font-weight: normal; text-align: start; line-height: 19.6px;" %) 26 26 Set the "reply to" informations. 27 27 28 -* (% style="font-size: 14px; text-align: start; background-color: rgb(245, 245, 245);" %)email is a string representing the email address of the sender.29 -* (% style="font-size: 14px;text-align: start; background-color: rgb(245, 245, 245);" %)title is a string representing his name.28 +* email is a string representing the email address of the sender. 29 +* title is a string representing his name. 30 30 31 31 (% style="font-family: sans-serif; font-style: normal; text-align: start;" %) 32 32 === (% style="font-size: 20.44px;" %)setTo(recipient, group)(%%) === ... ... @@ -121,11 +121,12 @@ 121 121 122 122 123 123 (% style="font-family: sans-serif; font-style: normal; text-align: start;" %) 124 -=== (% style="color: rgb(34, 34, 34); font-family: sans-serif; font-size: 14px; font-style: normal; font-weight: normal; line-height: 19.6px; text-align: start; background-color: rgb(245, 245, 245);" %)Example s:(%%) ===124 +=== (% style="color: rgb(34, 34, 34); font-family: sans-serif; font-size: 14px; font-style: normal; font-weight: normal; line-height: 19.6px; text-align: start; background-color: rgb(245, 245, 245);" %)Example:(%%) === 125 125 126 126 {{code language="javascript"}} 127 127 var notif = new Notification(); 128 -notif.init(param); 128 +var template = sysNotificationTemplate.Get('402881e650a9d76c0150b7f4299d29ce'); 129 +notif.init(template); 129 129 notif.setVariable("data", data); 130 130 131 131 notif.setTo("user1@gmail.com");