/* Options:
Date: 2025-10-28 01:34:06
Version: 8.80
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://duengageapi.uat.scadsoftware.com
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: False
//ExportValueTypes: False
IncludeTypes: SendMailRequest.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using System.Net;
using System.Net.Http.Headers;
using digitaluapi.ServiceModel;
namespace digitaluapi.ServiceModel
{
[Route("/communication/sendmail", "POST")]
public partial class SendMailRequest
{
///
///Email address of sender. If it is not set the a default address will be used.
///
[ApiMember(Description="Email address of sender. If it is not set the a default address will be used.")]
public virtual string FromAddress { get; set; }
///
///List of recipient email addresses
///
[ApiMember(Description="List of recipient email addresses", IsRequired=true)]
public virtual IEnumerable Recipients { get; set; }
///
///Email subject
///
[ApiMember(Description="Email subject", IsRequired=true)]
public virtual string Subject { get; set; }
///
///Plain text body. Either this or HtmlBody is required
///
[ApiMember(Description="Plain text body. Either this or HtmlBody is required")]
public virtual string Body { get; set; }
///
///Html body. Either this or Body is required
///
[ApiMember(Description="Html body. Either this or Body is required")]
public virtual string HtmlBody { get; set; }
///
///Email attachments
///
[ApiMember(Description="Email attachments")]
public virtual string[] Attachments { get; set; }
///
///Email attachments
///
[ApiMember(Description="Email attachments")]
public virtual Attachment[] AttachmentsObject { get; set; }
///
///Attachment streams
///
[ApiMember(Description="Attachment streams")]
public virtual AttachmentStream[] AttachmentStreams { get; set; }
///
///Template substitutions
///
[ApiMember(Description="Template substitutions")]
public virtual Dictionary TemplateSubstitutions { get; set; }
///
///Template Id
///
[ApiMember(Description="Template Id")]
public virtual string TemplateId { get; set; }
///
///List of BCC email addresses
///
[ApiMember(Description="List of BCC email addresses")]
public virtual IEnumerable Bcc { get; set; }
///
///List of CC email addresses
///
[ApiMember(Description="List of CC email addresses")]
public virtual IEnumerable Cc { get; set; }
}
}