mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-18 16:17:03 +00:00
fix: notify of unencrypted recipient
This commit is contained in:
@ -290,6 +290,9 @@ func (su *smtpUser) Send(from string, to []string, messageReader io.Reader) (err
|
|||||||
}
|
}
|
||||||
|
|
||||||
sendPreferences, err := su.getSendPreferences(email, message.MIMEType, mailSettings)
|
sendPreferences, err := su.getSendPreferences(email, message.MIMEType, mailSettings)
|
||||||
|
if !sendPreferences.Encrypt {
|
||||||
|
containsUnencryptedRecipients = true
|
||||||
|
}
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user