Skip to content

A Python library to encode mailto-URLs in HTML

Notifications You must be signed in to change notification settings

Fukuro192/mailto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

mailto

A Python library to encode mailto-URLs in HTML

This library can help you if you're using Django for creating webapps and wanting to add a mailto-URL.

This project is still on run, please run at your own risk.

how to use

clone this repository:

git clone https://github.com/Fukuro192/mailto.git

then on python import and use the principal function:

>>> import mailto
>>> mailto.mailto_href("[email protected]", cc="[email protected]")
'mailto:[email protected][email protected]'

you can use mailto_href directly to set the href-attribute like so:

<a href="{{your_mailto_result_here}}">Send a Mail</a>

About

A Python library to encode mailto-URLs in HTML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages