Send URL by Email
-
@Pesala Both already present.
-
@Folgore101 Where; in the extension? They're not yet in Vivaldi.
-
@Pesala In the Soprano version. It could be labeled as "IN PROGRESS".
-
@Gwen-Dragon Should you mark as done?
-
I rather like it not being mark as done since the request was to be able to use any email program, not only the one integrated in vivaldi.
-
I would like it to send to my default eMail program, not Vivaldi's (unless I specifically ask it to).
Here is what Firefox does. And it is EASY to find too.
-
@toddandmargo That is planned and will come.
-
HI DoctorG,
Very sweet!
"Send Link by Mail" and "Send URL by Mail" are synonyms and will confuse folks. Hopefully, the planners will change the wording to remove the confusion.
-T
-
I have a small block of JavaScript code that I run as a bookmark to accomplish this. It creates and executes a "mailto:" URL that copies the page title to the Subject line and the page URL into the message body. Just copy the code block, edit a bookmark in your toolbar to have this as its "location" and it will open your default email program and create the email message, ready to address and send.
javascript:(function(){hed=document.title;content=document.location.href;mailthis='mailto:[email protected]?subject=' + encodeURI(hed) + '&body=' + encodeURI(content);document.location=mailthis;})();
-
@joeduffus I created some similar code at https://web.archive.org/web/20100801085321/http://shadow2531.com/opera/testcases/mailto/modern_mailto_uri_scheme.html#send_link a while back. (Not in Javascript URL code there though.)
-
@joeduffus I tried it, but it wanted to use the Vivaldi email system, which I don't want. I have used Fastmail for years and years and want to continue using it.
Firefox has a General setting: Applications
Choose how Firefox handles the files you download from the web or the applications you use while browsing.This lets you specify how you want "mailto" to be handled (where I have Fastmail specified - the properties are https://www.fastmail.com/action/compose/?mailto=%s)
Firefox also has, as previously mentioned, a "File > Email link" action.
This is what, I believe, people are wanting.
-
Not sure of your OS, but in Windows you can set a default handler for "mailto:" tags that works system-wide, which is what I do and am used to.
-
Some of these posts imply a solution using the Vivaldi email client, I have used Fastmail for years and years and want to continue using it.
Firefox has a General setting: Applications
Choose how Firefox handles the files you download from the web or the applications you use while browsing.Among the "Applications" mailto is listed (where I have Fastmail specified - its properties are https://www.fastmail.com/action/compose/?mailto=%s)
Firefox also has, as previously mentioned, a "File > Email link" action.
These are what, I believe, people are wanting, both a way to email a link, using whatever their prefered email client is, and to be able click on a mailto link and send a message.
-
@joeduffus said in Send URL by Email:
message
Very nice! Is there a way to include selected text in the email body?
Thanks.
-
@paul1149 Might be a way to add that if you know enough JS to grab selected text and concatenate it to the value being assigned to 'body'. As it is, it just grabs the URL and assigns that to 'body'.
-
@joeduffus Yes indeed. I don't, which is why I asked.
-
@paul1149 You could try this:
javascript:(function(){hed=document.title;content=document.location.href;mailthis='mailto:[email protected]?subject=' + encodeURI(hed) + '&body=' + encodeURI(content + '\n' + window.getSelection());document.location=mailthis;})();
Not sure what formatting you want.
This part is what makes up the body of the email:
content + '\n' + window.getSelection()
Where
content
is the URL,\n
is a new line (so the URL and selected text aren't on the same line), andwindow.getSelection()
is the selected text.Hopefully you can edit that part to match the formatting you desire. Something like this might be good:
window.getSelection() + '\n---\n' + content
-
@nomadic Thank you, that is excellent. I added an extra
\n
blank line in the Body before the excerpt, and I deleted the placekeeper addressee, since it would only have to be done manually each time otherwise.I'm doing this using Thunderbird, on MX Linux with the KDE desktop. I don't know if it's possible to key the system to a webmail address, but in my case I don't need that and it's working great with TB.
-
@nomadic Yes indeed! That is an improvement for sure. Thank you!!!
-
@LakeInHolland
Event easier to copy and paste the URl into your e-mail application but that is NOT what we want! We want the a BUTTON on the toolbar and /or an option with "right click" that automatically opens your default e-mail client and pastes the URL into the body and sets an appropriate subject. Simple, very useful, Opera had it and other have it.. Why not Vivaldi, a browser with a pedigree that supposedly hails from the original, useful and most innovative Opera.