create mailto URIs
Project description
mailto-uri
Creates mailto URIs. The main use case is to create mailto URIs for support web pages. This makes it easy for users to request stuff by relying on provided mail templates.
installation
Arch Linux:
$ pacaur -S mailto-uri
pip:
$ pip install mailto-uri
usage
Create a mail template:
echo 'please increase my quota' > increase-quota.txt
Create mailto URI:
$ mailto-uri -s 'increase quota' -r support@example.org -i increase-quota.txt
mailto:support@example.org?subject=increase%20quota&body=please%20increase%20my%20quota%0a
This URI can then be pasted into web pages.
Plain HTML:
<a href="mailto:support@example.org?subject=increase%20quota&body=please%20increase%20my%20quota%0a">increase quota</a>
Markdown:
If you need more storage, ask us to [increase your quota](mailto:support@example.org?subject=increase%20quota&body=please%20increase%20my%20quota%0a).
MediaWiki:
If you need more storage, ask us to [mailto:support@example.org?subject=increase%20quota&body=please%20increase%20my%20quota%0a increase your quota].
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mailto-uri-1.0.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for mailto_uri-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf0634bc587bda59f857442721b4aebfadb37a1c37447ed4e58792351515747c |
|
MD5 | c0b576a7ccb97694e31b15fa1b4eadc8 |
|
BLAKE2b-256 | 85d8715fbc6354afc395ba55507a29954ad334b9012d377244cfbfdc7b82f727 |