HelloZeroNet / ZeroMail

End-to-end encrypted, P2P messaging site.
GNU General Public License v2.0
90 stars 53 forks source link

Support a mailto equivalent link #7

Closed Codes4Fun closed 8 years ago

Codes4Fun commented 8 years ago

I already see people say "Send me a ZeroMail" but then you have to manually enter their email address and copy and paste it.

I am thinking of something like this: http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_link_mailto

I would think it would work like this: <a href="http://127.0.0.1:43110/Mail.ZeroNetwork.bit/#mailto:soandso@zeroid.bit&Subject=Hello%20World">Say hello to soandso</a>

And then on ZeroMail page load do all the string magic to location.hash to extract it.

HelloZeroNet commented 8 years ago

there is: http://127.0.0.1:43110/Mail.ZeroNetwork.bit/?to=nofish