Patch level : 12.00 1366

Files correlati     : xvaga.dll

Commento:
Invio estratti conti e solleciti via mail
This commit is contained in:
Alessandro Bonazzi 2024-10-28 22:32:38 +01:00
parent d84edb9602
commit dfc020fe21

View File

@ -63,15 +63,13 @@ void xvt_set_mail_params(const char * smtp, const char * port, const char * user
__from = GetMailParam("From", f);
}
if (smtp && *smtp)
__smtp = smtp;
__smtp = _strdup(smtp);
if (port && *port)
__port = port;
__port = _strdup(port);
if (user && *user)
__user = user;
__user = _strdup(user);
if (pass && *pass)
__pass = pass;
if (from && *from)
__from = from;
__pass = _strdup(from);
}
static bool GetMailParams(wxString& smtp, wxString& port, wxString& user, wxString& pass, wxString& from)