Package: arched-emailer
Arched EmailerA simple emailer for sending emails / error logs to a list of recipients.Change Logv0.1.4 (05/02/2024)Changed requirements to match the latest version ofsmtpymailerwhich 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 keyChanged thesend_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.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.v0.1.6 (07/02/2024)Changed the lookupapi_keyandcustomer_idmethodv0.1.7 (07/02/2024)Quick fix to re-add the error text to thesend_error_emailfunction. I've realised that it would be useful to have
in some cases.v0.1.8 (07/02/2024)Made it flask proof with aninit_appmethodv0.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 fixesv0.2.2 (08/02/2024)Changes to the flaskinit_appand how it intercepts exceptions.Changes to the UUID that was being generated before, was too long.v0.2.3 (09/02/2024)Added a clause that removesrequestfrom the globals() and locals() calls as it was causing a flask context
error.v0.2.4 (09/02/2024)Had need to report success to the backend without emailing so addedupdate_db_onlyto thesend_success_emailmethod.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 thetext/htmlmultipart of the email object.v0.2.8 (09/02/2024)Missed the success send email functionv0.2.9, 0.2.10, 0.2.11, 0.2.12, 0.2.13 (10/02/2024)Minor bug fixesDependency issuesv0.2.15 (11/02/2024)added the option to pass in to theinit_appmethod, thecurrent_userfrom flask-login. Then error messages will
be sent with the user's email address or other details.v0.2.15,16,17,18 (11/02/2024)added the option to pass in to theinit_appmethod a flag whether to usecurrent_userfrom flask-login. Then error messages will
be sent with the user's email address or other details.v0.2.19,20,21 (11/02/2024)Added abefore_requesthandler that will add last few urls visited by the user to the error message.Minor bug fixesv0.2.23 (12/02/2024)Changes to the way html_content is gatheredIssue with flask context when not a flask app bugv0.2.24 (12/02/2024)Issue with post requests being sent to raw ip. Most likely bots. Causing error when I'm not interested.v0.2.25 (20/02/2024)Minor bug fixes for flask init_app and error handlingv0.2.26 (20/02/2024)Requirements update