curl --request POST \
--url http://base.url.com/profiles/sendTestEmail \
--header 'Content-Type: application/json' \
--header 'x-phishy-api-key: <api-key>' \
--data '{
"host": "<string>",
"port": 123,
"is_secure": false,
"ignore_cert_errors": false,
"username": "<string>",
"password": "<string>",
"from_address": "<string>",
"email": "jsmith@example.com",
"first_name": "<string>",
"last_name": "<string>",
"position": "<string>"
}'
[
{
"name": "<string>",
"method": "<string>",
"fromAddress": "<string>",
"mailServer": "<string>",
"mailServerPort": 123,
"customPort": false,
"useSSLTLS": false,
"lastUpdatedBy": "<string>",
"lastModified": "<string>"
}
]
Sends a test email to verify email functionality
curl --request POST \
--url http://base.url.com/profiles/sendTestEmail \
--header 'Content-Type: application/json' \
--header 'x-phishy-api-key: <api-key>' \
--data '{
"host": "<string>",
"port": 123,
"is_secure": false,
"ignore_cert_errors": false,
"username": "<string>",
"password": "<string>",
"from_address": "<string>",
"email": "jsmith@example.com",
"first_name": "<string>",
"last_name": "<string>",
"position": "<string>"
}'
[
{
"name": "<string>",
"method": "<string>",
"fromAddress": "<string>",
"mailServer": "<string>",
"mailServerPort": 123,
"customPort": false,
"useSSLTLS": false,
"lastUpdatedBy": "<string>",
"lastModified": "<string>"
}
]
Sent Test Email
The body is of type object
.
Email sent
The response is of type object[]
.