For the complete documentation index, see llms.txt. This page is also available as Markdown.

SendMessage

Task to send messages with AS3 protocol

Task version: 1.0.0

Required Frends version: 5.7+

Required .NET version: 8.0

Compatible Agents: Crossplatform

Task Parameters

Name
Description

SenderAs3Id : String

Id of the company that will send the message.

Default: - Example: MyCompany

ReceiverAs3Id : String

Id of the company that will receive the message.

Default: - Example: YourCompany

Subject : String

Subject of the AS3 message.

Default: - Example: Subject of the message

MessageFilePath : String

Path to the file that will be sent in the message.

Default: - Example: C:\Document\message.txt

Name
Description

FtpHost : String

FTP server host name or IP address for the AS3 connection.

Default: - Example: ftp.example.com

FtpPort : Int32

FTP server port.

Default: 21 Example: 21

FtpUser : String

Username for FTP authentication.

Default: - Example: myFtpUser

🗝FtpPassword : String

Password for FTP authentication.

Default: - Example: myFtpPassword123

UsePassiveFtp : Boolean

Defines whether to use Passive mode for the FTP data connection.

Default: True Example: true

RemoteFilePath : String

Target directory path on the remote FTP server where the message will be uploaded.

The connection will change the working directory to this path before sending the file.

Default: - Example: /inbox/messages

SignMessage : Boolean

Defines whether to sign the message.

Default: False Example: true

EncryptMessage : Boolean

Defines whether to encrypt the message.

Default: False Example: true

🗝SenderCertificatePassword : String

Password for the sender certificate.

Default: - Example: mySecurePassword123

SenderCertificatePath : String

Path to the sender certificate file in .pfx format.

Default: - Example: C:\Document\sender_cert.pfx

ReceiverCertificatePath : String

Path to the receiver certificate file in .pfx format.

Default: - Example: C:\Document\receiver_cert.pfx

MdnReceiver : String

Email where to send the MDN (Message Disposition Notification).

Default: - Example: user@example.com

ContentTypeHeader : String

Specify content type header for the message if it's neither encrypted nor signed.

Default: text/plain Example: application/zip

Name
Description

LogDirectory : String

Directory path where AS3 communication logs will be stored. Leave empty to disable logging.

The caller is responsible for log rotation and cleanup of files in this directory.

Default: - Example: C:\Logs\AS3

ThrowErrorOnFailure : Boolean

Whether to throw an error on failure.

Default: True Example: false

ErrorMessageOnFailure : String

Overrides the error message on failure.

Default: - Example: Custom error message

Task Result

Name
Description

Success : Boolean

Indicates if the task completed successfully. Example: true

PartnerResponse : String

Information about the FTP transport result or remote server response. Example: File 'message.txt' successfully uploaded to FTP directory '/inbox'.

MessageId : String

Generated Message-ID of the sent AS3 message. Example: 123456789@ftp.example.com

OriginalContentMIC : String

The locally computed digital Message Integrity Check (MIC) code of the sent file (e.g., Base64-encoded hash and algorithm name). Example: 7v7F+fQbH4lD8bKGJTbXzWWcUlI=, sha256

MdnOptions : String

The MIME options string that describes the MDN signature algorithm requested from the trading partner (e.g., signed-receipt-protocol and signed-receipt-micalg). Example: signed-receipt-protocol=optional, pkcs7-signature; signed-receipt-micalg=optional, sha256

Error : Error

Error that occurred during task execution. Example: object { string Message, Exception AdditionalInfo }

Error.Message : String

Summary of the error. Example: Unable to send message.

Error.AdditionalInfo : Exception

Additional information about the error. Example: object { Exception AdditionalInfo }

Task Changelog

Changelog for Task Frends.As3.SendMessage.

[1.0.0] - 2026-08-04

Added

  • Initial implementation

Last updated

Was this helpful?