Advertisement
Guest User

Untitled

a guest
Jul 28th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.62 KB | None | 0 0
  1. <messaging:emailTemplate subject="Event Details" relatedToType="Event">
  2. <messaging:htmlEmailBody >
  3. <html>
  4. <head>
  5.  
  6. <style type="text/css">
  7. body {
  8. font-family: Arial,Helvetica,sans-serif;font-size: 12px;
  9. }
  10. a:visited {
  11. color: #BDEBF7;
  12. }
  13. </style>
  14.  
  15. <script type="application/ld+json">
  16. {
  17. "@context": "http://schema.org",
  18. "@type": "Event",
  19. "name": "Taco Night",
  20. "startDate": "2017-07-28T15:30:00Z",
  21. "endDate": "2017-07-28T16:30:00Z",
  22. "location": {
  23. "@type": "Place",
  24. "address": {
  25. "@type": "PostalAddress",
  26. "name": "Google",
  27. "streetAddress": "24 Willie Mays Plaza",
  28. "addressLocality": "San Francisco",
  29. "addressRegion": "CA",
  30. "postalCode": "94107",
  31. "addressCountry": "USA"
  32. }
  33. },
  34. "potentialAction": [
  35. {
  36. "@type": "RsvpAction",
  37. "handler": {
  38. "@type": "HttpActionHandler",
  39. "url": "http://example.com/rsvp?eventId=123&value=yes"
  40. },
  41. "attendance": "http://schema.org/RsvpAttendance/Yes"
  42. },
  43. {
  44. "@type": "RsvpAction",
  45. "handler": {
  46. "@type": "HttpActionHandler",
  47. "url": "http://example.com/rsvp?eventId=123&value=no"
  48. },
  49. "attendance": "http://schema.org/RsvpAttendance/No"
  50. },
  51. {
  52. "@type": "RsvpAction",
  53. "handler": {
  54. "@type": "HttpActionHandler",
  55. "url": "http://example.com/rsvp?eventId=123&value=maybe"
  56. },
  57. "attendance": "http://schema.org/RsvpAttendance/Maybe"
  58. }
  59. ]
  60. }
  61. </script>
  62. </head>
  63. <body style="font-family: Arial,Helvetica,sans-serif;font-size: 12px;">
  64.  
  65.  
  66. <table border="0" cellspacing="0" cellpadding="0" width="550" align="center">
  67. <tr>
  68. <td>
  69. <h3 style="border-bottom:1px solid #ccc;font-size:16px;margin:3px 0px;padding-bottom:8px;">{eventTitle}</h3>
  70. <table border="0" cellspacing="0" cellpadding="0" style="padding:15px 0px 0px;" width="550">
  71. <tr valign="middle">
  72. <td width="400px">
  73. <table border="0" cellspacing="2" cellpadding="2" width="100%">
  74. <tr>
  75. <th valign="top" width="100" align="right" style="color:#4A4A54;font-size:11px;">Subject</th>
  76. <td width="5">&nbsp;&nbsp;</td>
  77. <td style="font-size:12px;">{Event.Subject}</td>
  78. </tr>
  79. <tr>
  80. <th valign="top" width="100" align="right" style="color:#4A4A54;font-size:11px;">Location</th>
  81. <td width="5">&nbsp;&nbsp;</td>
  82. <td style="font-size:12px;">{Event.Location}</td>
  83. </tr>
  84. <tr>
  85. <th valign="top" width="100" align="right" style="color:#4A4A54;font-size:11px;">When</th>
  86. <td width="5">&nbsp;&nbsp;</td>
  87. <td style="font-size:12px;">{Event.StartDateTime}</td>
  88. </tr>
  89. <tr>
  90. <th valign="top" width="100" align="right" style="color:#4A4A54;font-size:11px;">Related To</th>
  91. <td width="5">&nbsp;&nbsp;</td>
  92. <td style="font-size:12px;"><a href="{Event.WhatId}">{Event.WhatId_Name}</a></td>
  93. </tr>
  94. <tr>
  95. <th valign="top" width="100" align="right" style="color:#4A4A54;font-size:11px;">Related To</th>
  96. <td width="5">&nbsp;&nbsp;</td>
  97. <td style="font-size:12px;"><a href="{Event.orcs__Search_User__c}">{Event.orcs__Search_User__c_Name}</a></td>
  98. </tr>
  99. </table>
  100. </td>
  101. <td valign="top" width="150">
  102. <div style="height:100px;width:130px;float:right;overflow:hidden;"></div>
  103. </td>
  104. </tr>
  105. </table>
  106.  
  107. <p style="margin:0px;padding:0px;">&nbsp;</p>
  108. <table border="0" cellspacing="0" cellpadding="0" style="background-color:#BDEBF7;color:#4A4A54;line-height:35px;margin:0px;padding:10px 20px;-webkit-border-radius:7px;-moz-border-radius:7px; display: displayDescrip;" width="100%">
  109. <tr valign="middle">
  110. <td width="400px" style="font-size:12px;line-height:120%;">
  111. {Event.Description}
  112. </td>
  113. </tr>
  114. </table>
  115.  
  116. <div align="center">
  117. <p style="margin:0px;padding:0px;">&nbsp;</p>
  118.  
  119. <div id="eventUrlLinks" style="display: displayEventUrls;">
  120. <table>
  121. <tr>
  122. <td style="background-color:#0087B5;border:2px solid white;color:white;font-size:12px;padding:5px 15px;">
  123. <a href="{eventURL}" style="color:#FFFFFF;text-decoration:none;">View Meeting Details</a>
  124. </td>
  125. </tr>
  126. </table>
  127. <p style="font-size:10px;">Or click <a href="{eventURL}" style="color:#0087B5;text-decoration:none;">{eventURL}</a></p>
  128. </div>
  129. <p style="font-size:10px;margin:20px 0px;">Do not reply to this email.</p>
  130. <p style="font-size:10px;text-align:left;display:displayEventUrls;">Notification emails have been sent to the following Users:{otherEmails}</p>
  131. </div>
  132. </td>
  133. </tr>
  134. </table>
  135. </body>
  136. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement