| 1 | == MAILBOUNCE |
| 2 | |
| 3 | '''NAME''' |
| 4 | MailBounce -- Open a new Write window to bounce the current message. (V2.0) |
| 5 | |
| 6 | '''TEMPLATE''' |
| 7 | VAR/K,STEM/K,QUIET/S |
| 8 | |
| 9 | '''FUNCTION''' |
| 10 | Opens a cut-down Write window to bounce the current message to |
| 11 | another recipient. |
| 12 | |
| 13 | '''INPUTS''' |
| 14 | VAR/K - alternative variable to store the number of the created window instead of RESULT\\ |
| 15 | STEM/K - base name used for the stem where the returned data will be stored\\ |
| 16 | QUIET/S - force the window to stay invisible (V2.1)\\ |
| 17 | |
| 18 | '''RETURNS''' |
| 19 | <STEM>WINDOW - number of the created window if the command had success; may be 0 or 1 (or 2, if QUIET is enabled) |
| 20 | |
| 21 | RC is set to 10 if the window cannot be opened, maybe because the |
| 22 | limit of two Write windows has been reached. |
| 23 | |
| 24 | '''NOTES''' |
| 25 | In the outgoing message, only the "To:" field can be edited. |
| 26 | |
| 27 | '''EXAMPLE''' |
| 28 | /* Silently bounce the current message */ |
| 29 | |
| 30 | MAILBOUNCE QUIET\\ |
| 31 | WRITETO 'joe@example.com' 'mars'\\ |
| 32 | WRITESEND\\ |
| 33 | |
| 34 | '''BUGS''' |
| 35 | |
| 36 | '''SEE ALSO''' |