Hi, I have designed a Travel Request form and created some buttons to send mails using @Mailsend command, when a mail goes to the approver he is suppose to open the link in the mail created by [INCLUDEDOCLINK] flag, User needs to open the link and click on another button to approve the request, this should triger another set of mails with @Mailsend command.
Now the problem is that when user opens the form with the help of link mail dosn't go, but if he click the button by opening the form from the database mail goes without any problem, Pls help..
Button codes is as follows
A:="<Travel Requester>" + @GetField("NAMET");
B:="<Chargecode>" + @GetField("CC");
C:= "<Destination>" + @GetField("Dest");
D:="<Official Stay Duration>" + @GetField("Stay");
F:="<Purpose> " + @GetField("Purpose");
@Command( [EditDocument]; "1" );
@MailSend(J;N;"prashant bhatnagar";E + ": Your 'Travel Request' is approved and sent for final approval to Account's Manager..Thanks";"";"Please process the 'Travel Request'. Thanks. For any details about this Travel Request status, click on the following Doc Link.";[IncludeDoclink]);
@SetField("StatusT";"Approved By Manager");