Hi,
Sorry for another topic with this title, the other topics didn’t seem to be the solution for me.
- A custom mail (no template) doesn’t send the mail I request via an API call.
- I use a custom SMTP server. Test mail was successful and mail templates do work via this SMTP (e.g. Login Confirmation Mail)
curl
–request POST \ --url http://api.backendless.com/C52F919B-42FB-F700-FFC9-109FEB3EBC00/1FEBD4ED-AC34-415E-ABEE-6A66718AC9BC/messaging/email
–header 'Content-Type: application/json
–header 'user-token: --valid user-token–
–data ‘{
“subject” : “Test”,
“bodyparts” : {
“textmessage” : “Test body”,
“htmlmessage” : “Test HTML body” // Tested without HTML property
},
“to” : ["–myMailAddress–"],
“attachment” : [" "] // Tested without mentioning the attachment property
}’
Positive response, errorMessage is null, as explained in other topics. The error occurs after the API call is finished. Sending the mail starts later.
Please advise.
Thanks in advance.
Nik