aboutsummaryrefslogtreecommitdiff
path: root/lib/Emails.Transactional.Plugin/src/Mta/IEmailMessageData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Emails.Transactional.Plugin/src/Mta/IEmailMessageData.cs')
-rw-r--r--lib/Emails.Transactional.Plugin/src/Mta/IEmailMessageData.cs38
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/Emails.Transactional.Plugin/src/Mta/IEmailMessageData.cs b/lib/Emails.Transactional.Plugin/src/Mta/IEmailMessageData.cs
new file mode 100644
index 0000000..8d1b261
--- /dev/null
+++ b/lib/Emails.Transactional.Plugin/src/Mta/IEmailMessageData.cs
@@ -0,0 +1,38 @@
+/*
+* Copyright (c) 2023 Vaughn Nugent
+*
+* Library: VNLib
+* Package: Emails.Transactional
+* File: IEmailMessageData.cs
+*
+* IEmailMessageData.cs is part of Emails.Transactional which is part of the larger
+* VNLib collection of libraries and utilities.
+*
+* Emails.Transactional is free software: you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published
+* by the Free Software Foundation, either version 2 of the License,
+* or (at your option) any later version.
+*
+* Emails.Transactional is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with Emails.Transactional. If not, see http://www.gnu.org/licenses/.
+*/
+
+namespace Emails.Transactional.Mta
+{
+ /// <summary>
+ /// Represents an email's message body
+ /// </summary>
+ internal interface IEmailMessageData
+ {
+ /// <summary>
+ /// Gets the template data as an HTML string.
+ /// </summary>
+ /// <returns>The template HTML string</returns>
+ string GetHtml();
+ }
+}