All Questions
Tagged with email javascript
14 questions
2
votes
1
answer
168
views
user-facing email validation
I'd like to have a generic way for validating user provided email with a bias toward ease of use. Does the following do so in a clear way for implementations that have the ...
3
votes
0
answers
2k
views
Decoder for Content-Transfer-Encoding and Quoted-printable
Below are two utility functions I have written to help decode email messages in Mbox format. decodeTransfer decodes the message according to the Content-Transfer-...
2
votes
1
answer
458
views
Beginner Node.js app using Heroku w/ Mailchimp API
I'd like some feedback on the readability and style of the following code. It's a simple Node.js app that uses the Mailchimp API to add emails to a list. The client side handles SVGs, sign-up ...
0
votes
1
answer
2k
views
Get value from an async function in Outlook Web Addin [closed]
I'm working on an Outlook Web Addin that gets the email body. So in the Office API you could get the email body in two types: Simple Text and Html.
Our requirement is to get the HTML format so this ...
1
vote
1
answer
144
views
Using JavaScript callback to conditionally send email
I have an app where users at some point select the amount of tasks they have completed. If they have only completed 3 or less then 3 tasks then I send an email to the system admin to inform them.
But ...
2
votes
1
answer
86
views
Structuring basic client side / serverside email form
I've been more than likely doing this entirely wrong for quite awhile and would like to correct that.
With the code review I would like to get critiqued on everything. This includes:
JQuery syntax/...
2
votes
2
answers
2k
views
Parsing "mailto:"
Can you help me to review my "mailto:"-parsing function ?
Since I'm trying to write less code, that is as simple as possible.
I'm not sure there if there is some bug or better solution.
...
1
vote
2
answers
235
views
jQuery form builder for parsing email array into single input
I have the following in script in my web app which contains a lot of duplication. How can I cut down on this duplication and generally improve my code?
...
1
vote
1
answer
167
views
DRY code for sending email with SendGrid
I have this code inside a post route:
The first one is to alert me when a user registers on my site:
...
20
votes
2
answers
49k
views
Email validation using JavaScript
I have a function where I validate emails via a regex. I was wondering if this is the best regex to use or if there's a better way of doing it.
Also is there a ...
5
votes
1
answer
4k
views
Exporting a table from Google Sheets and sending it via email
Basically is a script to export a table from Google Sheets and send it via email. But it's not a clean script, although it works.
If there is any way of making it more simple, or instead of get all ...
6
votes
1
answer
6k
views
Checking input and email field
I've written this as part of my contact form on my website. It checks to see if required inputs are empty, if so adds a red warning color and text. It also checks the email field for a properly ...
4
votes
2
answers
11k
views
Validating email without Regex
I'm trying to improve my JavaScript (I'm usually a copy/paste guy but can do basic DOM stuff with jQuery too), so I decided to try and make a function to validate an email address without using Regex.
...
4
votes
1
answer
277
views
Email obfuscator
Review this code for code quality.
...