Jonathan Jenne fe9c5d048f 06-12-23
2023-12-06 16:57:53 +01:00

37 lines
1.1 KiB
VB.net

Public Class EmailData
Public Property EmailAdress As String
Public Property EmailSubject As String
Public Property EmailBody As String
Public Property EmailType As Constants.EnvelopeStatus
Public Property ReferenceID As Integer
Public Property ReferenceString As String
Public Property ReceiverName As String
Public Property SenderName As String
Public Property SenderAdress As String
Public Property SignatureLink As String
Public Property Message As String
Public Property EnvelopeTitle As String
Public Sub New(pEnvelope As Envelope, pReceiver As EnvelopeReceiver, pStatus As Constants.EnvelopeStatus)
EmailAdress = pReceiver.Email
EmailSubject = String.Empty
EmailType = pStatus
Message = pEnvelope.Message
ReferenceID = pEnvelope.Id
ReferenceString = pEnvelope.Uuid
ReceiverName = pReceiver.Name
SenderAdress = pEnvelope.User.Email
SenderName = pEnvelope.User.FullName
EnvelopeTitle = pEnvelope.Title
End Sub
Public Sub New()
End Sub
End Class