Shopware icon

Shopware

Shopware

Actions778

Mail Operations → Validate

AI-generated

Overview

This node operation validates the content of an email by accepting both HTML and plain text versions of the email content. It is useful in scenarios where you need to ensure that the email content is correctly formatted and valid before sending it out, such as in automated email marketing workflows or transactional email systems.

Use Case Examples

  1. Validating an email's HTML and plain text content before sending to ensure proper formatting and avoid delivery issues.
  2. Checking email content validity in an automated workflow to prevent sending malformed emails.

Properties

Name Meaning
Content Html The content of the mail in HTML format.
Content Plain The content of the mail as plain text.
Request Options Additional options to control the request behavior such as batching, SSL certificate validation, proxy settings, and timeout duration.

Output

JSON

  • validationResult - The result of the email content validation, indicating whether the content is valid or if there are errors.

Dependencies

  • Requires an API key credential for authentication to the mail validation service.

Troubleshooting

  • Ensure that both Content Html and Content Plain fields are provided and correctly formatted to avoid validation errors.
  • If SSL issues occur, consider enabling the 'Ignore SSL Issues' option to bypass certificate validation, but be aware of security risks.
  • Check proxy settings if the node cannot connect to the validation service due to network restrictions.
  • Timeout errors may occur if the server is slow to respond; increase the timeout setting if necessary.

Discussion