Add project files.

This commit is contained in:
2024-03-19 18:48:19 -04:00
parent c6378da519
commit bb57113461
11 changed files with 435 additions and 0 deletions

24
Models/EmailRequest.cs Normal file
View File

@ -0,0 +1,24 @@
namespace EmailServiceApi.Models
{
public class EmailRequest2
{
public string smptserver { get; set; }
public string? FromAddress { get; set; }
public string ToAddress { get; set; }
public string? Subject { get; set; }
public string? Message { get; set; }
public int? Times { get; set; } = 1;
}
public class EmailRequest1
{
public string smptserver { get; set; }
public string? FromAddress { get; set; }
public string ToAddress { get; set; }
public string? Subject { get; set; }
public string? Message { get; set; }
public string username { get; set; }
public string password { get; set; }
}
}