Progress on:  dw/8460

I'm not in love with the minor name changes I have made here
- `@task def send_raw_content` - There are already `sendmail` and 
`sendsimplemail` tasks, both of which perform a decent amount of allura logic. 
I wanted another task name to convey that this is just a dumb mail content 
forwarder.
- `SMTPClient.send` - Again, there is already a `SMTPClient.sendmail` which 
performs a decent amount of allura specific logic like building headers and 
computing references. So I added this simpler method that literally just sends 
the message and retries. The existing `sendmail` method now also leverages this 
new `send` method to actually transmit the message. So that's nice. But the 
names are all so similar.


---

** [tickets:#8460] add task to allow sending already-formatted message**

**Status:** in-progress
**Milestone:** unreleased
**Created:** Wed Sep 07, 2022 02:30 PM UTC by Dillon Walls
**Last Updated:** Wed Sep 07, 2022 02:30 PM UTC
**Owner:** nobody


We would like to be able to just add an email to the task queue with all of the 
content/headers already determined. This would decouple the mail logic from the 
allura logic a little bit.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to