Add 'see online' link to any email
Project description
Email Online App
This app allows you to add 'see online' link to any email you are sending to users.
Configuration
- Add
emailonlinetoINSTALLED_APPSinsettings.pyfile. - Add
DEFAULT_MAIN_PAGE="[name of default main page to redirect]"into thesettings.pyfile. - Add
path("emailonline/", include("emailonline.urls")),to the mainurls.pyfile
Usage
Here is an example for creating email online:
email_online = EmailOnline()
email_online.user = user # optional
email_online.content = render_to_string(
"your_template_name.html",
{
...,
"online_message_uid": str(email_online.id),
}
) # prepare HTML / TXT message to send.
email_online.save()
HTML template example:
See this <a href="{% url 'emailonline:see_email id=online_message_uid %}'">email on webpage</a>
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file emailonline-beeflow-0.0.2.tar.gz.
File metadata
- Download URL: emailonline-beeflow-0.0.2.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5755f33616903fb4f5cd3c5db2b7ed9c1a0d1eedaacc682ce5be3b394a0ae1e7
|
|
| MD5 |
ae548d8703c745a2caf96ea35c48d34d
|
|
| BLAKE2b-256 |
b2b08ed965b82317d86a932b493a9114c1c85e2504e2da26c79a864573867fba
|
File details
Details for the file emailonline_beeflow-0.0.2-py3-none-any.whl.
File metadata
- Download URL: emailonline_beeflow-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07fcd5be97f824c5fd574b3f24f02aeba068f93c23494492c6ad41118d77d48e
|
|
| MD5 |
fff922b852aaedd3f2b4f6e909495100
|
|
| BLAKE2b-256 |
0e31de2d4ea5267b6a0cd6ca0ca05338d721b6e96a6535ec933301e61043f857
|