![]() |
![]() |
![]() |
![]() |
Email a receipt
- Press the 'Email a receipt' button to view its properties.
- Enable the Action event and choose its Action page.
- Press the Code Sourcerer button and choose 'Miscellaneous...'. Press Next.
- Choose 'Send an E-mail message..'. Press Next.
- 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.
- 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 |
![]() |
![]() |
![]() |
![]() |