PostMailsNormal

Function: postMailsNormal()

postMailsNormal<ThrowOnError>(options?): RequestResult<PostMailsNormalResponses, PostMailsNormalErrors, ThrowOnError>

Defined in: app/api/sdk.gen.ts:510

Sends a standard email based on the provided recipient and content data. The PostNormalMail endpoint allows authorized users to dispatch general-purpose emails by providing a PostMailDTO containing the necessary details such as recipient address, subject, and body content. This endpoint is designed to facilitate flexible communication within the system, ensuring that the request is validated and the sender is authorized before the mail service processes the delivery. Upon successful dispatch, the endpoint returns a 200 OK status, confirming that the email has been queued or sent successfully.

Type Parameters

ThrowOnError

ThrowOnError *extends* boolean = false

Parameters

options?

Options<PostMailsNormalData, ThrowOnError>

Returns

RequestResult<PostMailsNormalResponses, PostMailsNormalErrors, ThrowOnError>

On this page