Helps you to develop awesome template for https://woocommerce.com/products/follow-up-emails/
Clone repo and run npm install
.
Build the template with npm run build
.
Run watch with npm run start
.
Open your email dist/index.html
index-2.html includes inline styles with "inliner".
Another option is juice. Compile inline styles with juice for dist/index.html
with npm run juice
.
Copy dist/index-2.html
to your-plugin/follow-up-emails/emails/template-name.html
Rename env.sample
to .env
. This file will be ignored by git
, so you don't have to worry about storing your passwords there. It's not the best approach possible, but a) your password won't be stored in your .bash_history
; b) it's simple.
That .env
file needs the following contents:
SMTP_HOST=smtp.1und1.de
SMTP_USER=username@fromaccount.com
SMTP_PASS=yourpassword
MAIL_TO=you@toaccount.com