TOC PREV NEXT INDEX



Email a receipt


  1. Press the 'Email a receipt' button to view its properties.
  2. Enable the Action event and choose its Action page.
  3. Press the Code Sourcerer button and choose 'Miscellaneous...'. Press Next.
  4. Choose 'Send an E-mail message..'. Press Next.
  5. Enter your SMTP server name in the first entry field. Enter your email address in the 'From:' and 'To:' fields. Enter "Your account balance" in the 'Subject:' field. Leave the message field blank. Press Done.
  6. Find the sixth line of the generated code. It should read
    email.setMessage("");
    Change this to read
    email.setMessage(output.getText());

You can test this by pressing the 'Email a receipt' button. If you entered your email address and server correctly, an email receipt will be sent to you.


Data Representations, Inc.
http://www.datarepresentations.com
support@datarepresentations.com
sales@datarepresentations.com
TOC PREV NEXT INDEX