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
- 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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
