mirror of
https://github.com/neilalexander/yggmail.git
synced 2026-05-22 19:16:29 +03:00
Update readme, resend interval 10m
This commit is contained in:
@@ -80,7 +80,6 @@ There are a few important notes:
|
|||||||
There are probably all sorts of bugs, but the ones that we know of are:
|
There are probably all sorts of bugs, but the ones that we know of are:
|
||||||
|
|
||||||
* IMAP behaviour might not be entirely spec-compliant in all cases, so your mileage with mail clients might vary;
|
* IMAP behaviour might not be entirely spec-compliant in all cases, so your mileage with mail clients might vary;
|
||||||
* SMTP queues up outbound mails in memory rather than in the database right now — if you restart Yggmail, any unsent mails will be lost;
|
|
||||||
* IMAP search isn't implemented yet and will instead return all mails.
|
* IMAP search isn't implemented yet and will instead return all mails.
|
||||||
|
|
||||||
The code's also a bit of a mess, so sorry about that.
|
The code's also a bit of a mess, so sorry about that.
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ func (qs *Queues) manager() {
|
|||||||
for _, destination := range destinations {
|
for _, destination := range destinations {
|
||||||
_, _ = qs.queueFor(destination)
|
_, _ = qs.queueFor(destination)
|
||||||
}
|
}
|
||||||
time.AfterFunc(time.Minute*5, qs.manager)
|
time.AfterFunc(time.Minute*10, qs.manager)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (qs *Queues) QueueFor(from string, rcpts []string, content []byte) error {
|
func (qs *Queues) QueueFor(from string, rcpts []string, content []byte) error {
|
||||||
|
|||||||
Reference in New Issue
Block a user