fix bug where NNTP account's SMTP server wasn't used
This commit is contained in:
parent
fde7dd3fb3
commit
db8edf89d8
1 changed files with 3 additions and 4 deletions
|
@ -6157,11 +6157,10 @@ static ComposeQueueResult compose_queue_sub(Compose *compose, gint *msgnum, Fold
|
|||
}
|
||||
|
||||
if (compose->to_list) {
|
||||
if (compose->account->protocol != A_NNTP)
|
||||
mailac = compose->account;
|
||||
else if (cur_account && cur_account->protocol != A_NNTP)
|
||||
if (!mailac && cur_account && cur_account->protocol != A_NNTP)
|
||||
mailac = cur_account;
|
||||
else if (!(mailac = compose_current_mail_account())) {
|
||||
else if (!mailac && !(mailac = compose_current_mail_account())) {
|
||||
alertpanel_error(_("No account for sending mails available!"));
|
||||
return COMPOSE_QUEUE_ERROR_NO_MSG;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue