Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;

namespace Ringhel.Procesio.Action.Core.Models.Credentials.SMTP
{
public class BasicEmailInformation
{
public int Id { get; set; }
public List<int> FileIndexes { get; set; } = new List<int>();
public string Subject { get; set; }
public string To { get; set; }
public string Cc { get; set; }
public string Bcc { get; set; }
public string Sender { get; set; }
public string Body { get; set; }
public string Status { get; set; }
public int Size { get; set; }
public DateTime SendDate { get; set; }
public string ImportanceLevel { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System.Collections.Generic;

namespace Ringhel.Procesio.Action.Core.Models.Credentials.SMTP
{
public class EmailsInformation
{
public List<BasicEmailInformation> BasicInformation { get; set; } = new List<BasicEmailInformation>();
public List<FileModel> Attachments { get; set; } = new List<FileModel>();
}
}
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Ringhel.Procesio.Action.Core.Models.Credentials.SMTP
{
public interface ISmtpClient
{
public Task SendEmail(MailMessage mailMessage, List<FileModel> attachments);
public Task<EmailsInformation> ReadEmails(bool unread, bool hasAttachments, string filter);
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
using System;
using System.Collections.Generic;
using System.Text;

namespace Ringhel.Procesio.Action.Core.Models.Credentials.SMTP
namespace Ringhel.Procesio.Action.Core.Models.Credentials.SMTP
{
public enum MailClientTypes
{
NONE = 0,
SMTP = 1,
IMAP = 2,
POP3 = 3,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ public class SMTPCredentialsConfiguration

public EncryptionTypes EncryptionType { get; set; }

public MailDirectionTypes MailDirection { get; set; }

public MailClientTypes Protocol { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using System.Net.Mail;

namespace Ringhel.Procesio.Action.Core.Models.Credentials.SMTP
namespace Ringhel.Procesio.Action.Core.Models.Credentials.SMTP
{
public class SMTPCredentialsManager
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Company>Ringhel</Company>
<Product>Procesio</Product>
<RepositoryUrl>https://github.com/PROCESIO/Action-Core.git</RepositoryUrl>
<Version>1.18.3</Version>
<Version>1.19.0</Version>
<AssemblyName>Ringhel.Procesio.Action.Core</AssemblyName>
<PackageId>Ringhel.Procesio.Action.Core</PackageId>
<RootNamespace>Ringhel.Procesio.Action.Core</RootNamespace>
Expand Down
1 change: 1 addition & 0 deletions Ringhel.Procesio.Action.Core/Utils/FeComponentType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public enum FeComponentType
Document_Select = 39,

Credentials_Custom = 40,
Credentials_Smtp_Inbound = 41,

Ignore = 100,
Any = 101,
Expand Down