Send Method

Sends the message.

Syntax

public func send() throws -> Void

Remarks

This method sends the message specified by MessageHTML or MessageText.

Example (Send an Email)

component.AccessKey = "my access key";
component.SecretKey = "my secret key";
component.From = "verified.email@host.com";
component.SendTo = "recipient@mail.com";
component.Subject = "Test SES Email";
component.MessageHTML = "<html><body><b>Hello World!</b></body></html>";

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Mail 2020 macOS Edition - Version 20.0 [Build 8164]