The MAPI actions
Home Up The STACK actions The SMTP actions The MAPI actions The FILE actions The PRINT actions Credit Card Validation The GENERATE Actions

 

 

The MAPI action saves the results of the current form to the stack. The current content of the stack is then attached to an E-Mail message by calling the user's Simple MAPI e-mail client. The user can then review the message before storing it in his outbox until he next connects to transfer E-Mail. The MAPIC action performs the same function, but clears the stack after processing.

The SMAPI and SMAPIC actions perform the same actions, but attempt to do so "silently". The user is not presented with a window to review the e-mail, it is simply placed in his Outbox. (There is nothing to stop him reviewing it subsequently using the functions of his e-mail client of course).

The recipient E-Mail address is encoded as part of the action. The HTML page to jump to after the E-Mail is complete may also be specified after a + sign.

Specify this action as the ACTION parameter of the FORM tag. For example, to specify that you want to e-mail results to the address

[email protected]

when the user submits the form, and then jump to the thanks.htm page specify

FORM Method="POST" [email protected]+thanks.htm

You can also add a target frame name to the redirection page if you are using Frames by enclosing the frame name in brackets at the end, so if for example you wanted the redirection page to appear in a frame called "main" you would need to specify 

FORM Method="POST" [email protected]+thanks.htm(main)


The user must have a correctly configured simple MAPI client when they submit the form.

The information is returned in "Name=Data" pairs. For example

Name=Peter Piper
Address=1, The Causeway
Address=Smalltown, SomewhereVille
Address=Lower Bogotwana
Telephone=001 123 456 7890
WouldLike=Catalog

You should also review the Compiler Options dialog where details of how you can encrypt the data resulting from Form Processing is discussed.