Skip to content

Commit ae97e42

Browse files
committed
fixes #140 - fix storing of sent offline queued messages
1 parent 2aef74d commit ae97e42

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/nmail.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
2-
.TH NMAIL "1" "May 2023" "nmail v4.22" "User Commands"
2+
.TH NMAIL "1" "June 2023" "nmail v4.23" "User Commands"
33
.SH NAME
44
nmail \- ncurses mail
55
.SH SYNOPSIS

src/smtpmanager.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ SmtpManager::Result SmtpManager::PerformAction(const SmtpManager::Action& p_Acti
195195
else if (p_Action.m_IsSendCreatedMessage)
196196
{
197197
SetStatus(Status::FlagSending);
198+
result.m_Message = p_Action.m_CreatedMsg;
198199
result.m_SmtpStatus = smtp.Send(p_Action.m_CreatedMsg, to, cc, bcc);
199200
ClearStatus(Status::FlagSending);
200201
}

src/version.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#include "version.h"
99

10-
#define NMAIL_VERSION "4.22"
10+
#define NMAIL_VERSION "4.23"
1111

1212
std::string Version::GetBuildOs()
1313
{

0 commit comments

Comments
 (0)