command = sbx:EMAILP {,flags, subject, intro}
(Windows only) EMAILP.SBX is a print filter subroutine intended only for use in a COMMAND statement within a printer ini file. It launches your local email client and embeds the specified printfile into the body of the message, allowing the user to then address and complete the sending process.
Note that since the way this subroutine can be called is from within a printer ini file, the parameters must be specified as literals. (There are no "variables" within printer ini files.) Remember to enclose strings in quotes if they contain embedded commas.
Parameters
flags
may optionally be specified as the sum of one or more of the following values:
Value |
Meaning |
---|---|
1 |
Receipt requested |
2 |
Send file as attachment instead of embedded within message. (Not yet implemented; consult source code EMAILP.BAS for update notes.) |
4 |
Use HTML coding to set fixed pitch (when embedding) |
subject (String)
a literal string containing the desired subject of the email message.
intro (String)
contains the text that will be inserted at the top of the message.