mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 15:10:23 +00:00
smtp: replace deprecated method
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
b9b370fbb8
commit
d8e4978b61
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ func (c *Config) getSMTPClientAndMsg(to, bcc []string, subject, body string, con
|
|||
msg.Subject(subject)
|
||||
msg.SetDate()
|
||||
msg.SetMessageID()
|
||||
msg.SetAttachements(attachments)
|
||||
msg.SetAttachments(attachments)
|
||||
|
||||
switch contentType {
|
||||
case EmailContentTypeTextPlain:
|
||||
|
|
Loading…
Reference in a new issue