Thomas Steen Rasmussen
bd53f64208
add responsible_team to most emails, while here run pre-commit run --all-files
2020-06-22 17:25:08 +02:00
Thomas Steen Rasmussen
bd36e70bc3
add hold function to OutgoingEmail, set hold=True to delay sending emails
2020-06-22 15:45:02 +02:00
Thomas Steen Rasmussen
bf7578a833
Send emails when proposals are accepted/rejected, and when eventinstances are created/updated ( #466 )
...
* fixup labels and help_text for the email field
* add email and published columns to speaker proposal table, add published column to event proposal table
* send email to user when a speaker or eventproposal is accepted or rejected. Send email to submitter and all speakers when an eventinstance is created, or when the time is updated (event is rescheduled). Fix a few other small things while here.
2020-03-05 12:23:42 +01:00
Thomas Steen Rasmussen
00af109e2f
add flake8 and isort to pre-commit config, make flake8 and isort happy ( #441 )
...
* add flake8 to pre-commit config, and fixup many things to make flake8 happy
* add isort and sort all imports, add to pre-commit and requirements
2020-02-12 13:10:41 +01:00
Víðir Valberg Guðmundsson
cd66b5fd5d
More email stuff.
2019-08-08 11:09:25 +02:00
Víðir Valberg Guðmundsson
38b7cae7d7
Fix missing colon.
2019-08-08 10:28:02 +02:00
Víðir Valberg Guðmundsson
2ba70c692f
Remove multiple attachment code - was not even done
2019-08-08 10:26:47 +02:00
Víðir Valberg Guðmundsson
3600ed6190
Third times the charm?
2019-08-07 23:33:56 +02:00
Víðir Valberg Guðmundsson
c088594e74
Actually add more attachments
2019-08-07 23:29:13 +02:00
Víðir Valberg Guðmundsson
ba23234a15
Multiple attachments on mails
2019-08-07 23:25:52 +02:00
Víðir Valberg Guðmundsson
bf2f0c7898
Blackness.
2019-06-16 14:32:24 +02:00
Thomas Steen Rasmussen
8d32170422
derive mimetype from attachment content rather than hardcoding application/pdf as we've done until now (we have non-pdf attachments going to economic now)
2018-08-30 17:32:24 +02:00
Stephan Telling
eab2c41f9b
fix bcc_recipients
2017-05-21 22:11:54 +02:00
Stephan Telling
750ab94f93
add defaults for to_recipients in send_mail and add_outgoing_email
2017-05-21 21:14:06 +02:00
Stephan Telling
c55c68beff
add bcc and cc to email system
2017-05-21 20:13:49 +02:00
Stephan Telling
6a98ee3564
use a list for recipients rather than a string
2017-05-21 18:06:45 +02:00
Stephan Telling
63648cd08e
fix add_outgoing_email to return false if emails cant be validated
2017-05-21 15:04:51 +02:00
Stephan Telling
a8eb0ffe97
use filefield for email attachments, add logging for emailworker
2017-04-30 11:32:49 +02:00
Stephan Telling
1f4df68304
add outgoingemail model, add mailhelper function and worker
2017-04-23 22:04:58 +02:00
Thomas Steen Rasmussen
5c4487d513
send email to team responsibles, not to the person joining the team
2017-04-22 00:23:12 +02:00
Stephan Telling
49d4f74472
redo email for shop and edd email for team app
2017-04-18 20:46:57 +02:00