varunon9 / amp4email Goto Github PK
View Code? Open in Web Editor NEWHow to send dynamic email to users- Everything you need to know
License: MIT License
How to send dynamic email to users- Everything you need to know
License: MIT License
I was playing around with the playground (https://amp.gmail.dev/playground/) and it was not working to read data from json. I am getting a refuse to connect and a fail to fetch error.
After trying more options I saw that also on the examples available in the playground <amp-list>
and <amp-list> #2
there are the same errors, so it is not because of my json.
PS: In the old playground(https://playground.amp.dev) everything is working, but I am not able to test the email properly.
Hi,
it seems you have accidentally added fs
but this is not a package on npmjs, fs
is an internal NodeJS module.
https://github.com/varunon9/amp4email/blob/master/package.json#L27
The following command gives an "error Command failed with exit code 127." Could you please help on how to resolve the issue. Thank you
This is the original content of the email:
`Return-Path: <>
Received: from [127.0.0.1] (2-228-94-52.ip190.fastwebnet.it. [2.228.94.52])
by smtp.gmail.com with ESMTPSA id b203sm3377575wmd.41.2019.06.25.08.52.58
for [email protected]
(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
Tue, 25 Jun 2019 08:52:58 -0700 (PDT)
From: [email protected]
Content-Type: multipart/alternative; boundary="--_NmP-8cae3de500b32f09-Part_1"
To: [email protected]
Subject: SaathMeTravel: An open source social travelling app to match the travellers sharing a common journey.
Message-ID: afc13136-5fbb-b3f3-66a5-d87e4291820f@DESKTOP-B3PJNMS
Date: Tue, 25 Jun 2019 15:52:55 +0000
MIME-Version: 1.0
----_NmP-8cae3de500b32f09-Part_1
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
This is a dynamic email but your email client does not support it
----_NmP-8cae3de500b32f09-Part_1
Content-Type: text/x-amp-html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<!doctype html>
<script async src=3D"https://cdn.ampproject.org/v0.js"></script> <script async custom-element=3D"amp-carousel" src=3D"https://cdn.amppro= ject.org/v0/amp-carousel-0.1.js"></script> <style amp4email-boilerplate>body{visibility:hidden}</style>Star our open source poject on Github:=20 SaathMeTravel
----_NmP-8cae3de500b32f09-Part_1
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
<p>This is a dynamic email.</p>
<p>
To check dynamic content, whitelist my email in=20
<b>
Gmail Settings > General > Dynamic email > Dynamic email developm=
ent
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.