[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 556
  • Last Modified:

sending email from a web form without going to Email client

I am trying to set up a web form to collect customer inquiry from my website form. The web is hosted by Yahoo so now I use Yahoo form code. The code is an example from Yahoo

If I want to move my hosting from Yahoo to another company, what do I need to change for the code?


<form method=post action="http://us.1.p10.webhosting.yahoo.com/forms?login=stevew11">
<font face="arial, helvetica">
<b>Your first name:</b><br>
<input type="text" name="Name" size="27">
<b>Your URL:</b><br>
<input type="text" name="URL" size="27">
<b>How often do you visit my web site?</b><br>
<input type="radio" name="Visit" value="Daily">Every day<br>
<input type="radio" name="Visit" value="Weekly">Once per week<br>
<input type="radio" name="Visit" value="Monthly">Once per month<br>
<input type="radio" name="Visit" value="Yearly">Once per year<br>
<b>Please add any comments you have below:</b>
<textarea cols="40" rows="10" name="Comments"></textarea>
<input type="submit" value="Send">
<input type="reset" value="Clear the form">
<!-- Option 1 -->
<input type="hidden" name="subject" value="Survey Results">
<!-- Option 2 -->
<input type="hidden" name="required_fields" value="Name,URL">
<!-- Option 3
<input type="hidden" name="next_url" value="http://MMMMMMM.com/index.html">

Open in new window

  • 2
1 Solution
Unfortunately I do not believe it will be possible to use the same code as this line indicates that it might use an included file.

However you can very likely find an alternative and free script on a site such as http://www.phpfreaks.com/ that will give you the same results.
<form method=post action="http://us.1.p10.webhosting.yahoo.com/forms?login=stevew11">

Open in new window

You will need to change only the post action ie . action action="http://us.1.p10.webhosting.yahoo.com/forms?login=stevew11">

Here you are postind a URL variable and logging into yahoo mail.

Since it is yahoo u r using yahoo mail server to send the mail.

If you change your host u will have to use their domain
BrgzaqAuthor Commented:

Can you give me an example of change for the post action if our web is hosted by godaddy.com?

BrgzaqAuthor Commented:
No solved

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now