Question : Enhancing a hotspot button to include reply with history

I have a button that when clicked will automatically send a response to the person who sent the button. however, i'd like it to include the history of the initial email. in other words, a reply with history. e.g., the text that the sender sent. i'm not sure how to do this. here is an example of what i have so far:

Result:=@Prompt([YesNo];"Continuing will send an email to Joe notifying him to change the disposition to Purple . Please click YES / NO to proceed."); @If(Result=1;@Do(@MailSend(from;sendto;"";"Re: " + subject;"";"Please revise to Purple." + @NewLine +  "Person's Name: " + @Name([Abbreviate];sendto)); @Prompt([Ok];"Your selection has been sent to the Joe. Thank you."));"")

Answer : Enhancing a hotspot button to include reply with history

No need to create any fields!
You wrote "...'d like it to include the history of the initial email...". The body of email is contained in a field called "Body". If you'd use the function on a different kind of document you'd probably have different fields.

Try:
Result:=@Prompt([YesNo];"Continuing will send an email to Joe notifying him to change the disposition to Purple . Please click YES / NO to proceed.");
@If(
   Result=1;
   @Do(
      @MailSend(from; sendto; ""; "Re:  " + subject; "Please revise to Purple." + @NewLine +  "Person's Name: " + @Name([Abbreviate];sendto); "Body");
      @Prompt([Ok];"Your selection has been sent to the Joe. Thank you.")
   );
   "")
Random Solutions  
 
programming4us programming4us