Email-Boilerplate | email boilerplate for sending out nicely formatted messages | Email library
kandi X-RAY | Email-Boilerplate Summary
kandi X-RAY | Email-Boilerplate Summary
The email boilerplate for sending out nicely formatted messages.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Email-Boilerplate
Email-Boilerplate Key Features
Email-Boilerplate Examples and Code Snippets
Community Discussions
Trending Discussions on Email-Boilerplate
QUESTION
AMP Email works well on Gmail mobile app. However on the web version, it shows this popup message when I try to navigate out the AMP Email without making any changes to the form elements:
Discard email draftChanges made within this email will be lost
I have my form inside the amp-list:
...ANSWER
Answered 2021-Jun-24 at 23:25See the documentation about this behavior in the Gmail developer documentation:
When the email contains a form with input elements, if the inputs are changed the user may see a confirmation before navigating away from the email without submitting the form. This confirmation isn't shown in some cases, such as if the user clears the form or upon message deletion.
https://developers.google.com/gmail/ampemail/tips
You can't disable this dialog box. It's a feature for the Gmail users to prevent them from losing data. The user needs to do one of the following upon seeing the dialog:
- Click "Cancel" and submit the form so that any pending data they have entered is not lost
- Click "Cancel" and clear the input fields to intentionally discard pending form data
- Click "Discard" to intentionally discard pending form data
Once the user successfully submits the form, then the dialog will not be shown.
QUESTION
'm building an internal request-approval system for my company, and the best scenario I'd like to develop is using the amp dynamic emails in Gmail (our company relies on G Suite services).
I made some few tests, and while sending through https://amp.gmail.dev/playground/ is working fine, when I try to send from GAS the amp content is not showing (Developer settings already enabled, my own address is white-listed). Knowing that GAS has some various limitations, I'd like to know if it's even possible to send automated dynamic emails.
...ANSWER
Answered 2020-Jan-08 at 22:53AMP for Email requires the AMP to be a separate part in a multipart/alternative
MIME tree with text/x-amp-html
as the Content-Type
. See Structure and rendering of AMP emails for more information.
The documentation for GmailApp.sendEmail
has the following explanation:
Sends an email message with optional arguments. The email can contain plain text or an HTML body. The size of the email (including headers, but excluding attachments) is quota limited.
Therefore, it's not currently possible to include the required text/x-amp-html
part in the email body using this API. The code you have now is putting the AMP code inside the text/html
part which email clients will treat as regular HTML email, likely resulting in stripping the required markup and scripts.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Email-Boilerplate
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page