Skip to main content

Recap—Using Email

That's all we need to do to add e-mail to our application, so let's recap what we've done, before we move on.

  • We obtained the user's e-mail address, which was entered into a form text box on the Orders page, by calling the %request object's Data method. generated description: smallbacktriangle.gif

  • We connected to a mail server by creating an smtp object and setting its smtpserver property. generated description: smallbacktriangle.gif

  • We created a MailMessage object and filled in its From, To, and Subject properties. Then we added message text and sent the message. generated description: smallbacktriangle.gif

Note that, in addition to sending messages, we can receive e-mail, too. For more information, check out the %Net.POP3Opens in a new tab class.

Purpose of this instance: Draft documentation
DocReleaseID: Core2018.1.11
Content loaded from:
/staging/ce/2018.1.11/doc/cache/en-us/src/
/staging/ce/2018.1.11/doc/ensemble/en-us/src/
/staging/ce/2018.1.11/doc/isp/en-us/src/
/staging/learning/zenmojo-doc/en-us/src/
FeedbackOpens in a new tab