mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-10 04:36:43 +00:00
Other: Fix apple mail config
This commit is contained in:
@ -78,13 +78,14 @@ func prepareMobileConfig(
|
||||
Port: imapPort,
|
||||
TLS: imapSSL,
|
||||
Username: username,
|
||||
Password: password,
|
||||
Password: string(password),
|
||||
},
|
||||
SMTP: &mobileconfig.SMTP{
|
||||
Hostname: hostname,
|
||||
Port: smtpPort,
|
||||
TLS: smtpSSL,
|
||||
Username: username,
|
||||
Password: string(password),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@ -46,7 +46,7 @@ type IMAP struct {
|
||||
TLS bool
|
||||
|
||||
Username string
|
||||
Password []byte
|
||||
Password string
|
||||
}
|
||||
|
||||
type SMTP struct {
|
||||
@ -57,7 +57,7 @@ type SMTP struct {
|
||||
// Leave Username blank to do not use SMTP authentication.
|
||||
Username string
|
||||
// Leave Password blank to use IMAP credentials.
|
||||
Password []byte
|
||||
Password string
|
||||
}
|
||||
|
||||
func (c *Config) WriteOut(w io.Writer) error {
|
||||
|
||||
Reference in New Issue
Block a user