forked from Silverfish/proton-bridge
feat(GODT-2703): got rid of account details dialog with Apple Mail autoconf.
This commit is contained in:
@ -30,6 +30,7 @@ type Config struct {
|
||||
DisplayName string
|
||||
Identifier string
|
||||
Organization string
|
||||
AccountName string
|
||||
AccountDescription string
|
||||
|
||||
IMAP *IMAP
|
||||
|
||||
@ -24,6 +24,10 @@ const mailTemplate = `<?xml version="1.0" encoding="UTF-8"?>
|
||||
<key>PayloadContent</key>
|
||||
<array>
|
||||
<dict>
|
||||
{{- if .AccountName}}
|
||||
<key>EmailAccountName</key>
|
||||
<string>{{.AccountName}}</string>
|
||||
{{- end}}
|
||||
{{- if .AccountDescription}}
|
||||
<key>EmailAccountDescription</key>
|
||||
<string>{{.AccountDescription}}</string>
|
||||
|
||||
Reference in New Issue
Block a user