On the form I have included the following fields: SendTo, CopyTo, BlindCopyTo, MailFormat and MailOptions. MailFormat = "M" and MailOptions = 1.
Situation 1: I can refresh the document via a Refresh agent and the doc is sent to a Notes address, including the cc line, bcc line and subject line. However, when the document is opened by the reader, he/she does not have the normal mail options of "forward" or "reply."
Situation 2: Using the same form and the same field, I have tried using an agent with @MailSend. However, here, I always get the error: No sendTo field in this document.
I am looking for a hint on how to send mail (including my document) and have it handled as mail -- after being opened. Thank you for your time.
For situation 2, ensure that the SendTo field is populated with a value before @MailSend is called. (You could do this by adding a prompt to display the SendTo name before you call @MailSend).
This was first published in February 2005