Infomaniak Mail icon

Infomaniak Mail

Interact with Infomaniak Mail API

Actions118

Mailing List → Send A Mail Through A Mailing List

AI-generated

Summary

Send an email through a specified mailing list using the selected authentication method

Inputs

  • authentication — Authentication method (OAuth2 or API Key)
  • path_mail_hosting_id (required) — Identifier of the mail hosting
  • path_mailing_list_name (required) — Name of the mailing list to send through
  • body_from (required) — The email address from which the mail is sent
  • body_message (required) — The email message body
  • body_subject (required) — The email subject
  • returnFullResponse — Whether to return the full API response

Output shape

no body — success/failure only

Response depends on authentication method; may include errors.

Examples

Example 1: Send a newsletter to a specific mailing list using OAuth2

authentication: OAuth2; path_mail_hosting_id: '123'; path_mailing_list_name: 'Newsletter'; body_from: 'sender@example.com'; body_subject: 'Monthly update'; body_message: '...'; returnFullResponse: false

Links

Discussion