Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var template = require('../../views/email-template.js');
- var htmlAll = _.template(template)(contactinfo[0]);
- var data = {
- from: company@example.com,
- to: email,
- subject: 'Your Order Confirmation',
- html: htmlAll
- <!doctype html>
- <html>
- <head>
- <meta name="viewport" content="width=device-width">
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>Email</title>
- <style media="all" type="text/css">
- // . . .
- <table>
- // . . .
- <td><%= firstName %> <%= lastName %>
- <br><%= company %>
- <br><%= address %>
- <br><%= city %>, <%= state.code %> <%= zip %>
- <br><%= email %>
- <br><%= phone %>
- </td>
- </tr>
- </table>
- // . . .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement