namespace FastReport.Web { /// /// SMTP server options for sending the report by mail /// public sealed class EmailExportOptions { /// /// Determines whether to enable the SSL protocol. /// /// /// The default value for this property is false. /// public bool EnableSSL { get; set; } /// /// SMTP account username. /// /// /// Specify the and properties if your host requires authentication. /// public string Username { get; set; } /// /// Template that will be used to create a new message. /// public string MessageTemplate { get; set; } /// /// The name that will appear next to the address from which the e-mail is sent. /// /// /// This property contains your name (for example, "John Smith"). /// public string Name { get; set; } /// /// SMTP host name or IP address. /// public string Host { get; set; } /// /// The address from which the e-mail will be sent /// public string Address { get; set; } /// /// SMTP server password. /// /// /// Specify the and properties if your host requires /// authentication. /// public string Password { get; set; } /// /// SMTP port. /// /// /// The default value for this property is 25. /// public int Port { get; set; } = 25; } public sealed class EmailExportParams { public string ExportFormat { get; set; } public string MessageBody { get; set; } public string NameAttachmentFile { get; set; } public string Subject { get; set; } public string Address { get; set; } } }