rm useless line
This commit is contained in:
parent
b9adcb205e
commit
21dfbfadf0
1 changed files with 6 additions and 9 deletions
|
@ -83,12 +83,12 @@ void main(List<String> argsRaw) async {
|
|||
);
|
||||
await mailClient.sendMessageBuilder(
|
||||
mail.MessageBuilder.prepareMultipartAlternativeMessage(
|
||||
plainText:
|
||||
"""Your registration for Federated Nexus has been accepted! Your credentials are:
|
||||
plainText:
|
||||
"""Your registration for Federated Nexus has been accepted! Your credentials are:
|
||||
Username: ${registration.username}.
|
||||
Password: $password""",
|
||||
htmlText: markdownToHtml(
|
||||
"""# Your registration for Federated Nexus has been accepted!
|
||||
htmlText: markdownToHtml(
|
||||
"""# Your registration for Federated Nexus has been accepted!
|
||||
## Your credentials are:
|
||||
- ### Username: ${registration.username}.
|
||||
- ### Password: $password
|
||||
|
@ -96,11 +96,8 @@ Password: $password""",
|
|||
If you have any questions, check out [our documentation](https://federated.nexus/services/matrix/).
|
||||
|
||||
If you have any issues, reply to this email.""",
|
||||
),
|
||||
)
|
||||
..subject =
|
||||
"Your registration for Federated Nexus has been accepted!"
|
||||
..sender = from,
|
||||
),
|
||||
)..subject = "Your registration for Federated Nexus has been accepted!",
|
||||
from: from,
|
||||
recipients: [
|
||||
mail.MailAddress(registration.username, registration.email),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue