Guide

User Fields Guide in Mailprex

The sendEmail endpoint is an API function that allows you to send emails using the nodemailer service in Express. To use this endpoint correctly, certain information must be provided in the application. Below is a detailed explanation of these data:

  • emailDestiny:

    • Type: String
    • Description: The email address of the message recipient
    • Required: Yes
  • fullname:

    • Type: String
    • Description: The full name of the message sender
    • Required: Yes
  • email:

    • Type: String
    • Description: The email address of the message sender
    • Required: Yes
  • message:

    • Type: String

    • Description: The content of the message to be sent via email

    • Required: Yes

    • webName:

    • Type: String

    • Description: The name of the website from which the message is sent

    • Required: Yes

  • formToken:

    • Type: String
    • Description: A unique token associated with a specific form created by the user in Mailprex
    • Required: Yes
  • phone:

    • Type: String
    • Description: The phone number of the message sender (optional)
    • Required: No
  • service:

    • Type: String
    • Description: The service related to the message (optional)
    • Required: No