POST
https://api.myidvirtual.com
/
mail
/
send
/
test
Send Test Email
curl --request POST \
  --url https://api.myidvirtual.com/mail/send/test \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "<string>",
  "subject": "<string>",
  "content": "<string>"
}
'
{
  "success": true,
  "message": "<string>"
}
This endpoint is for testing purposes only and should not be used in production.

Body Parameters

email
string
required
Recipient’s email address
subject
string
Email subject line
content
string
Email body content

Response

success
boolean
Indicates if the test email was sent successfully
message
string
Success or error message

Example Request

curl -X POST "http://localhost:3333/mail/send/test" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "[email protected]",
    "subject": "Test Email",
    "content": "This is a test email message"
  }'

Response Example

{
  "success": true,
  "message": "Test email sent successfully"
}