ini e email

This commit is contained in:
2025-08-21 19:03:23 +02:00
parent d3f7e9090a
commit f33ae140fc
10 changed files with 83 additions and 22 deletions

21
env/email.ini vendored
View File

@@ -1,12 +1,19 @@
[smtp]
address = smtp.aseltd.eu
port = 587
user = alert@aseltd.eu
password = Ase#2013!20@bat
[address]
from = ASE Alert System<alert@aseltd.eu>
to = andrea.carri@aseltd.eu,alessandro.battilani@gmail.com,alessandro.valletta@aseltd.eu,alberto.sillani@aseltd.eu,majd.saidani@aseltd.eu
cc =
to1 = andrea.carri@aseltd.eu,alessandro.battilani@gmail.com,alessandro.valletta@aseltd.eu,alberto.sillani@aseltd.eu,majd.saidani@aseltd.eu
to = alessandro.battilani@aseltd.eu
cc = alessandro.battilani@gmail.com
bcc =
[msg]
subject = ASE Alert System
body = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> \
body = <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
@@ -29,22 +36,22 @@
</tr>
<tr>
<td align="center">
<h3 style="margin: 5px;">Matlab function $matlab_cmd failed on unit => $unit - tool => $tool</h3>
<h3 style="margin: 5px;">Matlab function {matlab_cmd} failed on unit => {unit} - tool => {tool}</h3>
</td>
</tr>
<tr>
<td align="center">
<h4 style="margin: 5px;">$matlab_error</h4>
<h4 style="margin: 5px;">{matlab_error}</h4>
</td>
</tr>
<tr>
<td style="padding: 20px; padding-bottom: 0px; color: red">
$MatlabErrors
{MatlabErrors}
</td>
</tr>
<tr>
<td style="padding: 20px;">
$MatlabWarnings
{MatlabWarnings}
</td>
</tr>
</table>