Commit graph

22 commits

Author SHA1 Message Date
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
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 1d15f6f848
Optimize "withMessage()" default 2020-03-07 12:50:19 +01:00
nupplaPhil 6730ddfd99
Remove redundant body creation in case of only a preamble is set 2020-03-05 00:40:42 +01:00
nupplaPhil 23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
nupplaPhil ea99ab22a9
Fix content not allowed flag ... 2020-02-04 21:38:59 +01:00
nupplaPhil 13c19fa9da
Add Logger 2020-02-04 21:14:40 +01:00
nupplaPhil cb08912926
split mailbuilder types 2020-02-04 21:14:39 +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 ca67e3111c
Set sender data directly 2020-02-02 22:43:42 +01:00
nupplaPhil 0b309245b1
Improve check 2020-02-02 22:43:41 +01:00
nupplaPhil 0e13428210
Move "App::getSenderEmailAddress()" to "Emailer::getSiteEmailAddress()" 2020-02-02 22:43:40 +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