Commit Graph

14 Commits

Author SHA1 Message Date
Hypolite Petovan acd6fd7dd3 Add expected method MailBuilder->withHeaders
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-696055412
2020-09-21 11:07:34 -04:00
Philipp Holzer c41614fef1
Add improvements 2020-09-19 22:49:44 +02:00
Philipp Holzer ac1d2cf38f
Transform email header string to header array & replace it at various situations. 2020-09-19 20:16:55 +02:00
nupplaPhil 23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
nupplaPhil 34dce9fd76
Introduce NotifyEmailBuilder 2020-02-04 21:14:39 +01:00
nupplaPhil 3e898d0415
formating 2020-02-04 21:33:53 +01:00
nupplaPhil 11c831945c
Add logging 2020-02-04 21:32:18 +01:00
nupplaPhil 0b94b84dc7
simplify mail creation 2020-02-04 21:05:33 +01:00
nupplaPhil 7fb913eb86
Add extra email banner (including setting) 2020-02-02 22:43:44 +01:00
nupplaPhil 0b309245b1
Improve check 2020-02-02 22:43:41 +01:00
nupplaPhil 206b53477e
Fix Lookup 2020-02-02 22:43:39 +01:00
nupplaPhil 9428466d1d
Set Sitename / site email as sender for system emails 2020-02-02 22:43:39 +01:00
nupplaPhil abad42f7d2
fix wrong template 2020-02-02 22:43:38 +01:00
nupplaPhil 3291728059
Extract System emails from enotify
- Removed every SYSTEM_EMAIL occurrence in enotify
- Introduced a "SystemMailBuilder" for build system emails
- Replaced every SYSTEM_EMAIL usage in the classes with calling this builder
- Added tests for this new Builder
- Split the email templates between "base" template for email and concrete usages for different use cases
2020-02-02 22:43:35 +01:00