Email not send via Send Basic Emails API

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

Hello @Nik_van_der_Wel

We will investigate this problem.
We have created an internal ticket to resolve this issue
You can reference to it by it’s ID - BKNDLSS-23300

Regards,
Viktor

1 Like

Hello @Nik_van_der_Wel,

in the Email Settings section, there is a Test button. If you click it, what do you see?
Have you checked the message status after sending an email?

Backendless.Messaging.getMessageStatus(messageId)
 .then(status => {
  })
 .catch(error => {
  })

where messageId is messageId field from the response on email sending.
What do you see?

Have you also checked spam folder?

Regards,
Stanislaw