Start with theMail Clientscript. Modify the script so it can accept input from an HTTP browser. You
Fantastic news! We've Found the answer you've been seeking!
Question:
- Start with theMail Clientscript.
- Modify the script so it can accept input from an HTTP browser. You may think of this script as a web server, whose purpose is to send email, instead of serving files.
- On first call, the script should display a simple HTML page that contains a form.
- The form should accept the From and To addresses, along with the Subject and Message.
- When the button is clicked, the data should go to the port on ocelot that is associated with the mail script. Redisplay the HTML page with the form, with the user's data from the email filled in. Add a message that the mail was sent.
- You do not need error processing for this script. That feature will be added in the future.
Related Book For
Computer Architecture Fundamentals And Principles Of Computer Design
ISBN: 9781032097336
2nd Edition
Authors: Joseph D. Dumas II
Posted Date: