POST mails Normal
/mails/normalPaste your JWT token here
In: header
The data transfer object containing the standard email details.
The subject of the mail to be sent. This field is required to provide a clear and concise subject line for the email, allowing recipients to understand the purpose and content of the mail at a glance. The subject should be relevant to the content of the mail and should effectively convey the main message or topic being communicated in the email.
The HTML content of the mail to be sent. This field is required to provide the actual body of the email in HTML format, allowing for rich formatting and presentation of the mail content. The HTML content can include various elements such as text, images, links, and other formatting options to enhance the visual appeal and readability of the email, ensuring that the message is effectively communicated to the recipients based on the specified content and formatting. The HTML content should be well-structured and properly formatted to ensure that it renders correctly in different email clients and devices, providing a consistent and engaging experience for the recipients of the mail.
The recipients of the mail to be sent. This field is required to specify the individuals or groups who will receive the email, allowing for effective communication with the intended audience based on the provided recipient information in the request payload. The recipients can be specified using the MailRecipient class, which includes properties such as the recipient's email address and name, enabling personalized and targeted communication through email based on the specified recipient details. The recipients field should contain valid email addresses and relevant recipient information to ensure that the mail is delivered successfully to the intended recipients and that the communication is effective and meaningful based on the provided recipient data in the request payload.
Response Body
application/json
application/json
curl -X POST "https://loading/mails/normal" \ -H "Content-Type: application/json" \ -d '{ "subject": "string", "htmlContent": "string", "recipients": [ {} ] }'{
"message": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}