-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
I notice that there is a small delay. In the user interface I see data appearing.
Looking at the code I the connection is reopened every time:
Line 1061 in 3b18894
| sfd = smtpConnect(pMail->smtp_server, pMail->smtp_port); |
but also, the sending is in a separate send thread:
Lines 1096 to 1098 in 3b18894
| if(!xSendMail((THEMAIL *) lpData)) { | |
| Sleep(1000) ; | |
| } |
I'm pretty sure that is why I'm noticing that delay. Unfortunately, my c/c++ knowledge is very limited.
I did see that in the code the log file is only opened once:
Line 1156 in 3b18894
pLogFile = fopen(szFilename, "a");
Monitoring that file via Baretail shows that is updated immediately.
It is not the end of the world kind of issue but wondering if the emailing could be somehow be done faster.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels