Sends a testmailing for the mailing with the provided id to a given email address. If the email address does not exist within your contacts, the personalization is done according to your default personalization user configured in Maileon.
1 |
POST https://api.maileon.com/1.0/mailings/:mailingid/sendtestemail |
Attributes
Parameter | Default | Description |
---|---|---|
The email the testmail should be sent to. | ||
format | auto | The format to send the testmail in. Valid values are 'auto' (=multipart), 'text', or 'html'. |
Response
HTTP status code | Description |
---|---|
200 OK |
If everything was ok. |
400 Bad Request |
If the given email address is invalid, e.g. contains no @ |
Example
POST https://api.maileon.com/1.0/mailings/1/sendtestemail?email=max.mustermann@xqueue.com Authorization: [XXX] Status: 200 OK