Click or drag to resize

DefaultNotificationServiceSendNotification Method

Send a notification to one or more addresses.

Namespace: SanteDB.Core.Notifications
Assembly: SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 3.0.2081-alpha+b4ae72647f2cc271f89142f76fff26ad69e00f5a
Syntax
public Guid[] SendNotification(
	string[] to,
	string subject,
	string body,
	DateTimeOffset? scheduleDelivery = null,
	bool ccAdmins = false,
	params NotificationAttachment[] attachments
)

Parameters

to  String
The scheme qualified addresses to send the notification to.
subject  String
The subject for the notification. Some relays do not support a subject and will ignore it.
body  String
The body of the notification. All relays should support the body.
scheduleDelivery  NullableDateTimeOffset  (Optional)
Delay sending the notification to a particular time in the future.
ccAdmins  Boolean  (Optional)
True to also send the notification to the defined administrators in the configuration.
attachments  NotificationAttachment
Zero or more attachments to include with the notification.

Return Value

Guid
An array of identifiers that correspond to the notifications.

Implements

INotificationServiceSendNotification(String, String, String, NullableDateTimeOffset, Boolean, NotificationAttachment)
See Also