Removed unused functions and documented reporting
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
{
|
||||
internal class Email
|
||||
{
|
||||
/*
|
||||
* This is a simple email class to mimic what fields
|
||||
* would exist if we were to send an email.
|
||||
*/
|
||||
private readonly string to;
|
||||
private readonly string subject = "Your payment is due soon!";
|
||||
private readonly string body = "Hello valued customer, this is a reminder that your payment for your reservation is due soon, please login to the system and pay for your reservation. If you do not it will be canceled.";
|
||||
@@ -13,6 +17,12 @@
|
||||
}
|
||||
internal void Send()
|
||||
{
|
||||
/*
|
||||
* Typically this function would send information or a built email
|
||||
* to a mail server, however, since that was not in the design doc.
|
||||
* a mockup was created to write what would go in the email to a
|
||||
* text document.
|
||||
*/
|
||||
File.AppendAllText(Path.GetFullPath("Emails.txt"),
|
||||
$"TO: {to}\n" +
|
||||
$"FROM: {from}\n" +
|
||||
|
||||
Reference in New Issue
Block a user