more config options
This commit is contained in:
parent
2ccfd214e1
commit
7056244e84
4 changed files with 29 additions and 26 deletions
|
|
@ -28,6 +28,9 @@ void main(List<String> argsRaw) async {
|
|||
..addOption("smtpPasswordFile", mandatory: true)
|
||||
..addOption("botPasswordFile", mandatory: true)
|
||||
..addOption("mailUsername", mandatory: true)
|
||||
..addOption("subject", mandatory: true)
|
||||
..addOption("markdown", mandatory: true)
|
||||
..addOption("plainText")
|
||||
..addOption("inviteTo");
|
||||
|
||||
final container = ProviderContainer();
|
||||
|
|
@ -99,7 +102,7 @@ void main(List<String> argsRaw) async {
|
|||
.read(MailClientController.provider.notifier)
|
||||
.send(
|
||||
plainText: replace(settings.plainText),
|
||||
markdown: replace(settings.markdown),
|
||||
markdown: replace(settings.markdown ?? settings.plainText),
|
||||
subject: settings.subject,
|
||||
to: registration.email,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue