Forward Mail

Forwards an existing mail to other recipients.


⬅️INPUT

Parameter

Type

Required

Description

WorkId

Guid?

✅Yes

ID of the work record

MailSentId

Guid?

✅Yes

ID of the mail to forward

MailName

String

❌No

Mail configuration name

To

String

✅Yes

Addresses to forward to

Cc

String

❌No

CC addresses

Bcc

String

❌No

BCC addresses

Importance

Int32?

❌No

Importance level (0=Low, 1=Normal, 2=High). Default: 1

Subject

String

❌No

New subject

Body

String

❌No

Additional body content

Attachment

List<PAWMailAttachment>

❌No

Attachment files

AttachmentFolderPath

String

❌No

Attachment file folder path

DoNotLog

Boolean

❌No

Whether to skip logging

IsBodyHtml

Boolean

❌No

Whether the body is HTML


➡️OUTPUT

Parameter

Type

Description

IsForwardMailSuccessful

Boolean

Whether the forward succeeded

ForwardMailMessage

String

Result/error message

ForwardMailSentId

Guid?

ID of the forwarded mail


⬇️MISC

Parameter

Type

Default

Description

ThrowException

Boolean

❌No

Throw exception on error