mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:04:39 +03:00
rename Account.Deliver to Account.DeliverDestination
the name was too generic compared with the other Deliver functions
This commit is contained in:
@ -219,7 +219,7 @@ func Add(ctx context.Context, log *mlog.Log, senderAccount string, mailFrom, rcp
|
||||
conf, _ := acc.Conf()
|
||||
dest := conf.Destinations[mailFrom.String()]
|
||||
acc.WithWLock(func() {
|
||||
err = acc.Deliver(log, dest, &m, msgFile, consumeFile)
|
||||
err = acc.DeliverDestination(log, dest, &m, msgFile, consumeFile)
|
||||
})
|
||||
if err != nil {
|
||||
return 0, fmt.Errorf("delivering message: %v", err)
|
||||
|
Reference in New Issue
Block a user