Use logo1.png in emails, inline mail_style.css, attach summary as MD
This commit is contained in:
@@ -4,71 +4,15 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Error Notification</title>
|
||||
<link rel="stylesheet" type="text/css" href="{css_path}">
|
||||
<style>
|
||||
body {{
|
||||
font-family: Arial, sans-serif;
|
||||
line-height: 1.5;
|
||||
background-color: #ffffff;
|
||||
color: #333;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
}}
|
||||
.container {{
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
}}
|
||||
h1 {{
|
||||
font-size: 1.5em;
|
||||
margin-top: 0;
|
||||
}}
|
||||
p {{
|
||||
margin: 10px 0;
|
||||
font-size: 1em;
|
||||
}}
|
||||
.error-message, .success-message {{
|
||||
padding: 10px 0;
|
||||
margin-bottom: 15px;
|
||||
font-size: 1em;
|
||||
}}
|
||||
.error-message {{
|
||||
color: #721c24;
|
||||
}}
|
||||
.success-message {{
|
||||
color: #7C6DA0;
|
||||
}}
|
||||
.contact {{
|
||||
margin-top: 15px;
|
||||
font-size: 1em;
|
||||
color: #333;
|
||||
}}
|
||||
.contact a {{
|
||||
color: #0056b3;
|
||||
text-decoration: none;
|
||||
}}
|
||||
.contact a:hover {{
|
||||
text-decoration: underline;
|
||||
}}
|
||||
.disclaimer {{
|
||||
margin-top: 20px;
|
||||
font-size: 1em;
|
||||
color: #333;
|
||||
}}
|
||||
.signature {{
|
||||
margin-top: 20px;
|
||||
font-size: 1em;
|
||||
color: #333;
|
||||
}}
|
||||
{email_css}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1 style="color: #7C6DA0;">Error Notification</h1>
|
||||
<p>Dear user:</p>
|
||||
{email_logo}
|
||||
<h1>Error Notification</h1>
|
||||
<p>Dear user,</p>
|
||||
<p>An error occurred while processing your audio file. This means that something went wrong during the processing of your file, and it could not be completed successfully.</p>
|
||||
<p class="error-message">Error details: {exception}</p>
|
||||
<p>Please check the file and try again. If the problem persists, our support team is here to help.</p>
|
||||
@@ -78,10 +22,10 @@
|
||||
<div class="disclaimer">
|
||||
<p>Please note that our support team does not have the ability to fix processing errors directly or access the files you have uploaded. They can provide guidance and help troubleshoot any issues you may encounter.</p>
|
||||
</div>
|
||||
<div class="signature">
|
||||
<p>Thank you for using our transcription service!</p>
|
||||
<p>A.P.Strom</p>
|
||||
</div>
|
||||
<div class="signature">
|
||||
<p>Thank you for using our transcription service!</p>
|
||||
<p>A.P.Strom</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -4,71 +4,15 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Transcript Ready</title>
|
||||
<link rel="stylesheet" type="text/css" href="{css_path}">
|
||||
<style>
|
||||
body {{
|
||||
font-family: Arial, sans-serif;
|
||||
line-height: 1.5;
|
||||
background-color: #ffffff;
|
||||
color: #333;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
}}
|
||||
.container {{
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
}}
|
||||
h1 {{
|
||||
font-size: 1.5em;
|
||||
margin-top: 0;
|
||||
}}
|
||||
p {{
|
||||
margin: 10px 0;
|
||||
font-size: 1em;
|
||||
}}
|
||||
.error-message, .success-message {{
|
||||
padding: 10px 0;
|
||||
margin-bottom: 15px;
|
||||
font-size: 1em;
|
||||
}}
|
||||
.error-message {{
|
||||
color: #721c24;
|
||||
}}
|
||||
.success-message {{
|
||||
color: #7C6DA0;
|
||||
}}
|
||||
.contact {{
|
||||
margin-top: 15px;
|
||||
font-size: 1em;
|
||||
color: #333;
|
||||
}}
|
||||
.contact a {{
|
||||
color: #0056b3;
|
||||
text-decoration: none;
|
||||
}}
|
||||
.contact a:hover {{
|
||||
text-decoration: underline;
|
||||
}}
|
||||
.disclaimer {{
|
||||
margin-top: 20px;
|
||||
font-size: 1em;
|
||||
color: #333;
|
||||
}}
|
||||
.signature {{
|
||||
margin-top: 20px;
|
||||
font-size: 1em;
|
||||
color: #333;
|
||||
}}
|
||||
{email_css}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1 style="color: #7C6DA0;">Transcript Ready</h1>
|
||||
<p>Dear user:</p>
|
||||
{email_logo}
|
||||
<h1>Transcript Ready</h1>
|
||||
<p>Dear user,</p>
|
||||
<p>Your file has been successfully processed, and the transcript is now ready. The transcript of your audio or video file is attached to this email.</p>
|
||||
<p>We hope you find the transcript useful. If you have any questions or need further assistance, please do not hesitate to contact our support team.</p>
|
||||
<div class="contact">
|
||||
|
||||
@@ -5,69 +5,14 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Upload Successful</title>
|
||||
<style>
|
||||
body {{
|
||||
font-family: Arial, sans-serif;
|
||||
line-height: 1.5;
|
||||
background-color: #ffffff;
|
||||
color: #333;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
}}
|
||||
.container {{
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 5px;
|
||||
}}
|
||||
h1 {{
|
||||
font-size: 1.5em;
|
||||
margin-top: 0;
|
||||
}}
|
||||
p {{
|
||||
margin: 10px 0;
|
||||
font-size: 1em;
|
||||
}}
|
||||
.error-message, .success-message {{
|
||||
padding: 10px 0;
|
||||
margin-bottom: 15px;
|
||||
font-size: 1em;
|
||||
}}
|
||||
.error-message {{
|
||||
color: #721c24;
|
||||
}}
|
||||
.success-message {{
|
||||
color: #7C6DA0;
|
||||
}}
|
||||
.contact {{
|
||||
margin-top: 15px;
|
||||
font-size: 1em;
|
||||
color: #333;
|
||||
}}
|
||||
.contact a {{
|
||||
color: #0056b3;
|
||||
text-decoration: none;
|
||||
}}
|
||||
.contact a:hover {{
|
||||
text-decoration: underline;
|
||||
}}
|
||||
.disclaimer {{
|
||||
margin-top: 20px;
|
||||
font-size: 1em;
|
||||
color: #333;
|
||||
}}
|
||||
.signature {{
|
||||
margin-top: 20px;
|
||||
font-size: 1em;
|
||||
color: #333;
|
||||
}}
|
||||
{email_css}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1 style="color: #7C6DA0;">Upload Successful</h1>
|
||||
<p>Dear user:</p>
|
||||
{email_logo}
|
||||
<h1>Upload Successful</h1>
|
||||
<p>Dear user,</p>
|
||||
<p>Your file has been successfully uploaded and is now in our processing queue. This means that our system has received your file, and it is waiting to be processed. We will handle your file as soon as possible.</p>
|
||||
<p class="success-message">Your current position in the queue is: {queue_position}. This is the order in which your file will be processed. We appreciate your patience as we work through the queue.</p>
|
||||
<p>We will notify you once your file has been processed. If you have any urgent needs or further questions, feel free to reach out to our support team.</p>
|
||||
|
||||
Reference in New Issue
Block a user