mckeever02 / mailtolink Goto Github PK
View Code? Open in Web Editor NEWA quick and easy way to generate markup for mailto links without having to worry about the annoying formatting.
Home Page: http://mailtolink.me
License: MIT License
A quick and easy way to generate markup for mailto links without having to worry about the annoying formatting.
Home Page: http://mailtolink.me
License: MIT License
I would LOVE to introduce a PR for this, and would be glad to share the potential cost if the function became used that much
You may be aware of netlify’s new wrapper around aws lambda for “serverless” - called functions, and they also have a faunadb addon available. The free tier for all of these is generous.
Would you be interested in a PR that introduces a simple, built in url shortening service?
The «Copy Code» link only appears when I enter a To address. Would be nice to have it optional, such that the link appears when any of To, Subject, or Body has been entered.
In cursory testing, it seems special characters aren't escaped so the output doesn't work as an href
value when these are used.
Gmail client for Android ignored line break encodeURIComponent(str).replace(/%0A/g, '%0D%0A')
But work fine with </br>
or encoded %3C%2Fbr%3E
May be other android client too ignored but I not tested.
Gmail: 2020.03.15.302138189
Android: 7.1.2
Missing '?' and '&' characters in query string of output prior clicking the copy button.
Line 9 in 6b34d60
.DS_Store files are not ignored, since the .gitignore file only specifies .DS_store and not .DS_Store (with capital S).
If you paste the body text first, then add subject and address, it appears that you only get 'to' and 'subject' in the output. Making a final change to the body text will cause complete output. I tested the same order of events in Google Chrome Win10 and did not have the same issue. Seems like something to do with whatever events trigger the output to update. Let me know if you need any more information.
Hi
Very good job :)
Quote character not convert,
and break space are not encoded to :)
first off, this tool is fantastic, thank you!
i noticed when using it, the to: and cc/bcc lines seem to be set up for one email address each on mobile. haven’t looked at the source yet, but it seems this is because <input type=“email”
is used, which prevents the user from using commas, at least on the ios keyboard for me just now
what do you think is the best option for this?
Nic simple tool. Cool design.
Have you considered adding the body? (hoping I did not overlook this)
Maybe a check box for "Include body"?
Sometimes I like to have my mailto's fill the body out with a placeholder.
<a href="mailto:[email protected]?subject=Suggestions&body=name:%0D%0Aemail:">test</a>
Thanks!
When making a giant 20+ line message your unable to scroll the page. I don't think usability is affected.
I have 5 points to add but in the mail I am getting an unwanted gap between 3 & 4 points and unable to fix it. Please give me the solution
It should be encoded as %0D%0A
due to RFC6068.
Did you ponder the idea of instead providing a copy link, you just could show a “Send” button which immeditaly opens the new message window in the configured mail client?
You should can produce mailto
link without to
parameter, with hfields
only - eg, for sending email with sole bcc
address (like mailto:[email protected]
).
Hey @mckeever02,
This is a really cool project, and I'll be bookmarking it for later use. I like the ability to use this in both a light mode and dark mode. It seems in dark mode, the textarea
of the body is still white (with white text), so I'm not able to read what I am writing. I think there is an element missing in the CSS declaration in _scss/_style.scss
on line 373, that would account for this textarea
.
Keep in mind I am using Chrome v71. I've included a screenshot below.
Use %0d%0a for a line break to work in email clients on mobile devices.
In email world, %0A%0A does not work in neither the gmail app or native mail app on my iPhone.
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.