Hi guys,
I created a mailing software with in Ninox an MAKE.
It’s absolutely no problem to send or received emails.
I am sending my messages from Ninox with a button. This triggers a hook up. Is there an opportunity to get a call back if the message was sent? Something like a pop Up which says “The message was sent”?
Best
Christoph
let myID := this;
if Absender = null then
alert("Das Feld 'Absender' muss ausgefüllt sein, da sonst die E-Mail nicht versandt werden kann.")
end;
let response := do as server
http("GET", "XXXX", {
'Content-Type': "application/json"
}, {
myID: number(myID.Nr),
Vorname: Absender.Vorname,
Nachname: Absender.Nachname,
IdAbsender: Absender.Nr,
Email: 'Empfänger'.'E-Mail',
CC: CC.'E-Mail',
CC2: 'CC 2'.'E-Mail',
Subjekt: Betreff,
Body: Nachricht,
Bild: Anhang,
Absender: "B&C Productions GbR"
})
end;
if response.statusCode = 200 then
closeRecord();
openTable("Posteingang")
else
alert("E-Mail konnte nicht versandt werden. Bitte überprüfen Sie Ihre Eingaben.")
end