Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <messaging:emailTemplate subject="Event Details" relatedToType="Event">
- <messaging:htmlEmailBody >
- <html>
- <head>
- <style type="text/css">
- body {
- font-family: Arial,Helvetica,sans-serif;font-size: 12px;
- }
- a:visited {
- color: #BDEBF7;
- }
- </style>
- <script type="application/ld+json">
- {
- "@context": "http://schema.org",
- "@type": "Event",
- "name": "Taco Night",
- "startDate": "2017-07-28T15:30:00Z",
- "endDate": "2017-07-28T16:30:00Z",
- "location": {
- "@type": "Place",
- "address": {
- "@type": "PostalAddress",
- "name": "Google",
- "streetAddress": "24 Willie Mays Plaza",
- "addressLocality": "San Francisco",
- "addressRegion": "CA",
- "postalCode": "94107",
- "addressCountry": "USA"
- }
- },
- "potentialAction": [
- {
- "@type": "RsvpAction",
- "handler": {
- "@type": "HttpActionHandler",
- "url": "http://example.com/rsvp?eventId=123&value=yes"
- },
- "attendance": "http://schema.org/RsvpAttendance/Yes"
- },
- {
- "@type": "RsvpAction",
- "handler": {
- "@type": "HttpActionHandler",
- "url": "http://example.com/rsvp?eventId=123&value=no"
- },
- "attendance": "http://schema.org/RsvpAttendance/No"
- },
- {
- "@type": "RsvpAction",
- "handler": {
- "@type": "HttpActionHandler",
- "url": "http://example.com/rsvp?eventId=123&value=maybe"
- },
- "attendance": "http://schema.org/RsvpAttendance/Maybe"
- }
- ]
- }
- </script>
- </head>
- <body style="font-family: Arial,Helvetica,sans-serif;font-size: 12px;">
- <table border="0" cellspacing="0" cellpadding="0" width="550" align="center">
- <tr>
- <td>
- <h3 style="border-bottom:1px solid #ccc;font-size:16px;margin:3px 0px;padding-bottom:8px;">{eventTitle}</h3>
- <table border="0" cellspacing="0" cellpadding="0" style="padding:15px 0px 0px;" width="550">
- <tr valign="middle">
- <td width="400px">
- <table border="0" cellspacing="2" cellpadding="2" width="100%">
- <tr>
- <th valign="top" width="100" align="right" style="color:#4A4A54;font-size:11px;">Subject</th>
- <td width="5"> </td>
- <td style="font-size:12px;">{Event.Subject}</td>
- </tr>
- <tr>
- <th valign="top" width="100" align="right" style="color:#4A4A54;font-size:11px;">Location</th>
- <td width="5"> </td>
- <td style="font-size:12px;">{Event.Location}</td>
- </tr>
- <tr>
- <th valign="top" width="100" align="right" style="color:#4A4A54;font-size:11px;">When</th>
- <td width="5"> </td>
- <td style="font-size:12px;">{Event.StartDateTime}</td>
- </tr>
- <tr>
- <th valign="top" width="100" align="right" style="color:#4A4A54;font-size:11px;">Related To</th>
- <td width="5"> </td>
- <td style="font-size:12px;"><a href="{Event.WhatId}">{Event.WhatId_Name}</a></td>
- </tr>
- <tr>
- <th valign="top" width="100" align="right" style="color:#4A4A54;font-size:11px;">Related To</th>
- <td width="5"> </td>
- <td style="font-size:12px;"><a href="{Event.orcs__Search_User__c}">{Event.orcs__Search_User__c_Name}</a></td>
- </tr>
- </table>
- </td>
- <td valign="top" width="150">
- <div style="height:100px;width:130px;float:right;overflow:hidden;"></div>
- </td>
- </tr>
- </table>
- <p style="margin:0px;padding:0px;"> </p>
- <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%">
- <tr valign="middle">
- <td width="400px" style="font-size:12px;line-height:120%;">
- {Event.Description}
- </td>
- </tr>
- </table>
- <div align="center">
- <p style="margin:0px;padding:0px;"> </p>
- <div id="eventUrlLinks" style="display: displayEventUrls;">
- <table>
- <tr>
- <td style="background-color:#0087B5;border:2px solid white;color:white;font-size:12px;padding:5px 15px;">
- <a href="{eventURL}" style="color:#FFFFFF;text-decoration:none;">View Meeting Details</a>
- </td>
- </tr>
- </table>
- <p style="font-size:10px;">Or click <a href="{eventURL}" style="color:#0087B5;text-decoration:none;">{eventURL}</a></p>
- </div>
- <p style="font-size:10px;margin:20px 0px;">Do not reply to this email.</p>
- <p style="font-size:10px;text-align:left;display:displayEventUrls;">Notification emails have been sent to the following Users:{otherEmails}</p>
- </div>
- </td>
- </tr>
- </table>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement