I have a database reservation for user.When the ask is created the mail is send to admin for traitment , its’ works the code is simple :
in query save :
@If(@IsNewDoc;(@MailSend(“Durand Pierre /SERVEUR “;””;“”;“Request for reservation to be approved”;Subject;“Click Below to See the Request”;[IncludeDoclink]));@Success)
2> I would like when durand approve a mail send to inform the requestor for the decision, but it don’t found “Requestor”
In my field Requester , Requester = “DANIEL/SERVEUR”
How to say to replace the field requestor by the name of the person DANIEL/SERVEUR to send it ?
so in my button :arranged in my form :
@Command([EditDocument]);
FIELD Approved :=“Treated”;
@Command([FileSave]);
@MailSend(“Requester”;“”;“”;“Leave Decision Pending:”;“”;“”;[IncludeDoclink]);
@Return(“”);
@Command([FileCloseWindow])
I think they are a problem in my code , can you modify this
for the mail is sent for the requester automatically .
thanks
NF