EmailServiceApi/Models/EmailRequest.cs

29 lines
901 B
C#
Raw Permalink Normal View History

2024-03-19 17:48:19 -05:00
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; }
2024-03-20 09:11:51 -05:00
public string username { get; set; }
2024-03-19 17:48:19 -05:00
public string password { get; set; }
}
2024-03-20 09:11:51 -05:00
public class EmailRequest3
{
// public string ToAddress { get; set; }
public string Subject { get; set; }
public string Body { get; set; }
}
}