Exchange

Frends.Exchange.SendEmail / 1.1.0

Summary

Sends mail as a mailbox in Microsoft 365 through Graph, with attachments and a plain-text or HTML body, using an application identity rather than SMTP credentials.

Typical use — notifications from a Process that should come from a real organisational mailbox; the SMTP Task is the choice for any other mail server

Details

Frends version
5.5 and newer
Agent
Crossplatform
Target framework
net6.0

Parameters for establishing a connection.

Name Type Default Example Description
AuthenticationProvider AuthenticationProviders UsernamePassword

Specifies the authentication provider to use.

Possible values:

  • ClientCredentialsCertificate: Select this if the authentication should be done using a client certificate. This requires a certificate file and private key.

  • ClientCredentialsSecret: Select this if the authentication should be done using a client secret. This requires a secret key from your application registration.

  • UsernamePassword: Select this if the authentication should be done using a username and password. This requires the username and password of the user.

X509CertificateFilePath String c:\temp\mycert.pfx

The path to a file that contains both the client certificate and private key.

ClientSecret String Y2lzY29zeXN0ZW1zOmMxc2Nv

The secret key of the client application.

Username String username@example.com

The username of the user.

PasswordSecret String password123

The password of the user.

ClientId String 4a1aa1d9-c16a-40a2-bd7d-2bd40babe4ff

The app ID for fetching an access token. This is the unique identifier for your application.

TenantId String 9188040d-6c67-4c5b-b112-36a304b66dad

The tenant ID for fetching an access token. This is the unique identifier of your Azure AD tenant.

An unhandled error has occurred. Reload 🗙