A emailing python library
Project description
Arched Emailer
A simple emailer for sending emails / error logs to a list of recipients.
Change Log
-
v0.1.4 (05/02/2024)
- Changed requirements to match the latest version of
smtpymailerwhich now uses data attributes to convert images to CID or base64, rather than the old method of using a method parameter which was rather clunky. - Added customer ID which will enable me to log requests server side per customer, and giving each customer their own unique API key
- Changed the
send_emailmethod, so we can send emails not only fromArchedbut also from the customer's email address if needed. This will be useful for sending emails from the customer's email address, but usingArched's SMTP server.
- Changed requirements to match the latest version of
-
v0.1.5 (06/02/2024)
- Make
_get_email_pathone function instead of two. - Added a
_make_requestfunction that can be used for all db calls. - Changed the requirements for the class init. Most of the needed data is stored on the server now, with a fallback mechanism to fetch from file if the server is down.
- Added a method to send errors/success logs to the backend. This will be useful for keeping track of errors.
- Created a decorator which can wrap functions around a try/except block, and send the error or success email and log to the backend.
- Make
-
v0.1.6 (07/02/2024)
- Changed the lookup api_key and customer_id method
-
v0.1.7 (07/02/2024)
- Quick fix to re-add the error text to the
send_error_emailfunction. I've realised that it would be useful to have in some cases.
- Quick fix to re-add the error text to the
-
v0.1.8 (07/02/2024)
- Made it flask proof with an
init_appmethod
- Made it flask proof with an
-
v0.2.0 (07/02/2024)
- Major update to all, fully working with arched.dev backend. Updating correctly.
-
v0.2.1 (07/02/2024)
- Minjor bug fixes
-
v0.2.2 (08/02/2024)
- Changes to the flask
init_appand how it intercepts exceptions. - Changes to the UUID that was being generated before, was too long.
- Changes to the flask
-
v0.2.3 (09/02/2024)
- Added a clause that removes
requestfrom the globals() and locals() calls as it was causing a flask context error.
- Added a clause that removes
-
v0.2.4 (09/02/2024)
- Had need to report success to the backend without emailing so added
update_db_onlyto thesend_success_emailmethod.
- Had need to report success to the backend without emailing so added
-
v0.2.5 (09/02/2024)
- Minor bug fix for the class setup. Wasn't correctly reading the mail_connection details from the local dir when the server was down.
-
v0.2.6 (09/02/2024)
- Oops, another, minor bug fix. Wasn't correctly reading the mail_connection details from the local dir when the server was down.
-
v0.2.7 (09/02/2024)
- Changed how it reports the HTML content to the backend, it was sending blank strings. Now it correctly gets the html from the
text/htmlmultipart of the email object.
- Changed how it reports the HTML content to the backend, it was sending blank strings. Now it correctly gets the html from the
-
v0.2.8 (09/02/2024)
- Missed the success send email function
-
v0.2.9, 0.2.10, 0.2.11, 0.2.12, 0.2.13 (10/02/2024)
- Minor bug fixes
- Dependency issues
-
v0.2.15 (11/02/2024)
- added the option to pass in to the
init_appmethod, thecurrent_userfrom flask-login. Then error messages will be sent with the user's email address or other details.
- added the option to pass in to the
-
v0.2.15,16,17,18 (11/02/2024)
- added the option to pass in to the
init_appmethod a flag whether to usecurrent_userfrom flask-login. Then error messages will be sent with the user's email address or other details.
- added the option to pass in to the
-
v0.2.19,20 (11/02/2024)
- Added a
before_requesthandler that will add last few urls visited by the user to the error message. - Minor bug fixes
- Added 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 Distributions
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 arched_emailer-0.2.20-py3-none-any.whl.
File metadata
- Download URL: arched_emailer-0.2.20-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eec0960d6ad879821f0c9e7c007f163868d602b08ab750aa5ce95b405d447b30
|
|
| MD5 |
c3b1c88dee4c38d32036ea7a34fdd520
|
|
| BLAKE2b-256 |
f08c51c48037e3da285197e9359970573d9232e1ae4965c84d41c1022db72495
|