How can I make my Contact form send the info to my email?

Greetings! I this is a contact form that I have creaed with help, but I can't seem to send information to my email address after it is submitted. That is my biggest problem at the moment.

Is a secondary question, can I do so once the form is submitted it send the info to my email without a page redirect?

Thanks in advance!

Change this:

<>

If ($_POST ['email']<>") {}

$ToEmail = ' [email protected]';

$EmailSubject = "BestMarketingNames.com survey";

$mailheader = "from:". " $_POST ['email']. » \r\n » ;

$mailheader. = "reply-To:". " $_POST ['email']. » \r\n » ;

$mailheader. = "content-type: text/html;" charset = iso-8859-1\r\n ";

$MESSAGE_BODY = "fullame:". " $_POST ['name']. » « ;"

$MESSAGE_BODY. = "e-mail:". " $_POST ['email']. » « ;"

$MESSAGE_BODY. = "phone number:".nl2br($_post["phone"])." « ;"

$MESSAGE_BODY. = "BestTime:". " $_POST ['besttime"]. » « ;"

$MESSAGE_BODY. = "PriceToStayUnder:". " $_POST ['price']. » « ;"

$MESSAGE_BODY. = "Comment:".nl2br($_post["comment"])." « ;"

mail ($EmailSubject, $MESSAGE_BODY, $ToEmail, $mailheader) or die ('Failure');

?>

Thank you for your inquiry. A company representative will contact you within the next 72 hours!

<>

} else {}

?>

to do this:

<>

If ($_POST ['email']<>") {}

$ToEmail = ' [email protected]';

$EmailSubject = "BestMarketingNames.com survey";

$mailheader = "from:". " $_POST ['email']. » \r\n » ;

$mailheader. = "reply-To:". " $_POST ['email']. » \r\n » ;

$mailheader. = "content-type: text/html;" charset = iso-8859-1\r\n ";

$MESSAGE_BODY = "fullame:". " $_POST ['name']. » \n";

$MESSAGE_BODY. = "e-mail:". " $_POST ['email']. » \n";

$MESSAGE_BODY. = "phone number:".nl2br($_post["phone"])." \n";

$MESSAGE_BODY. = "BestTime:". " $_POST ['besttime"]. » \n";

$MESSAGE_BODY. = "PriceToStayUnder:". " $_POST ['price']. » \n";

$MESSAGE_BODY. = "Comment:".nl2br($_post["comment"])." \n";

mail ($EmailSubject, $MESSAGE_BODY, $ToEmail, $mailheader) or die ('Failure');

?>

Thank you for your inquiry. A company representative will contact you within the next 72 hours!

<>

} else {}

?>

-ST

Tags: Dreamweaver

Similar Questions

  • How can I make my PC OS meets the requirements and get windows vista to be taken in charge for the installation of adobe lightroom 6?

    How can I make my PC OS meets the requirements and get windows vista to be taken in charge for the installation of adobe lightroom 6?

    Well, I'm not really sure of Windows Vista.

    You can contact customer service for additional troubleshooting.

  • How can I make radial gradient overlay in the upper left corner? I m try, but it doesn´t work.

    How can I make gradient overlay radial in the upper left, using the layer Style? I m try, but it doesn´t work.

    (CFFO Como um radial gradiente no canto superior, no estilo camadas esquerdo?) JA I tried from several formas e nao esta running.

    Layer styles (note angle setting)

    , or the tool degraded

    Drag the cursor in the upper left corner to the lower right.

  • How can I get my contacts and all the other stuff I had on the old email?

    Original title: I changed my email because they said my old email was invalid... How can I get my contacts and all the other stuff I had on the old email? They said, it has been deleted

    If my email isn't valid how I used it?

    Hello

    1. which email account you are referring to?

    2. What is the version of Windows installed on the computer? For example, Windows 7, Vista

    Please answer these questions and provide additional information so that we can better guide you.

  • How can we make a visible element on the screen based on the selection of an existing menu in the same screen

    February 2015 release OPA

    How can we make a visible element on the screen based on the selection of an existing menu in the same screen.

    I have a list box and a text box in the same screen.

    I have a visibility rule on the text box saying that it is only available for one of the selection in the menu dropdown.

    problem is now unless I hit the button next to the screen and return to the original screen the text box does not appear.

    Is there a solution to more to come this problem.

    Please help me

    The feature you describe is called "dynamic visibility" (http://documentation.custhelp.com/euf/assets/devdocs/february2015/PolicyAutomation/en/Default.htm#Guides/Policy%20Modeling%20User%20Guide/Interviews/Screens/Add_questions_to_screens.htm#Dynamic). It allows to control the visibility of another article on the same screen, without writing a separate rule of visibility and click on Submit.

    Using out-of-the-box functionality, you can have dynamic visibility based on Boolean values and value lists (but not regular drop-down lists).

    The example in the February 2015 User Guide based on a Boolean value on the same screen. See slide 27 of the bridge-features and benefits for an example of what it looks like to a list of value: http://www.oracle.com/technetwork/apps-tech/policy-automation/overview/opafeb2015featuresbenefits-2431219.pdf

    If you are wondering what is a list of values, see here: http://documentation.custhelp.com/euf/assets/devdocs/february2015/PolicyAutomation/en/Default.htm#Guides/Policy Modeling User Guide/Value_lists/What_is_a_value_list.htm

    See you soon,.

    Jasmine

  • How can I make my default program for the Adobe Downloads?

    How can I make my default program for the Adobe Downloads?

    Set up the default program depends on the type of file you download, Ex:-PDF file open in Adobe Reader or Acrobat.

    The downloaded file is opened in the default program set on your computer for this file type.

    The steps may vary for Windows and Mac.

    Windows

    Right click on any file with the file type that you want to change the default program Ex:-Pdf,.

    Select 'open with '.

    and from the list select your application that you want to set default Ex: Acrobat

    Check the option on the bottom, "always choose this application to open this file type.

    Mac

    CTRL + click on any file with the file type

    Go to 'Get Info '.

    Modify the Application in the 'open with '.

    Select 'change everything '.

    Close window 'Get info '.

  • How can I make a new form of 2 existing forms in Ps CS6?

    Once I drew "the space shapes form intersecting" etc. option is grayed out, I can draw a new shape to do thins, but how can I use 2 existing forms. I know it should be easy, just not a way to do that I can't work.

    Right, I get what you're trying to do now. :-) I don't know why you do not get your options in the last shot well but not to worry... ?

    Take a look at this quick video and see if you can replicate... ? Forms unit to overlap - Photoshop Tutorial - YouTube

    I hope that this fixes it for you. :-)

  • How can I make a formal complaint about the Microsoft Customer Service?

    I tried to contact customer service about a problem I had with my DirectX, and frankly, the 'service', I received from the client has been obnoxious. On the rare times where I actually managed to get in touch with someone, I was treated with complete disregard. For example, I was on a live chat this morning, and after asking three times if I could speak to a supervisor, she agrees finally to connect to one. Twenty minutes later I had not plugged to a supervisor, so I let her know that I've been waiting for twenty minutes. She closed simply disconnected the cat and I now have to wait several hours to be connected to another cat. Microsoft employees have been totally disrespectful to me and their service has been horrible. How can I make a complaint about the problems I had to deal with? And how can I get in touch with someone who will really help me to solve my problem, as they are supposed to. You know, because it's their job?

    Hi ksly1205,

    I just wanted you to (a) I had a very similar experience today that sent my blood pressure skyrocket through the roof and (b) the 'support' (?) provided by MS seems to have got better with the release of Win10. My rants is at http://answers.microsoft.com/en-us/windows/forum/windows_10-security/formal-complaint-extremely-poor-and-rude-microsoft/d6e4dc2d-27c4-410d-b28d-9855d45fc6d7 if you are interested.

    To be fair (?) to Microsoft, they're probably dealing with a considerable number of complaints, requests and similar with the launch of Win10, but in no case should justify "hang up" on frustrated users who are asking valid questions about Microsoft products. Will not create us these problems, and many of us have been "actively encouraged" to use Microsoft products through some pretty compelling marketing - Microsoft is expected to provide some of this service of 'better quality' and 'innovation' they like to make out in their campaigns in the media.

    If you want to deepen your question, you might be able to find a back door into the network MS. try to do an internet search on the Microsoft contacts in your country - they like to push to good media on themselves, so you can be able to find someone who handles issues related to the consumer media. If you feel that, send them an email or (if you're lucky enough to get a phone number), give them a call. No guarantee of operation, but you can try.

    Good luck!

  • How can I make Android V35 behave like the V24?

    I use FF on Android, I've been holding until the update since 24 V for all newer versions will not auto play mp3 for download without interaction. I use this to play on Google voice email messages. How can I make 35 V behave like a 24 V?

    Thanks Roland, I guess all I can ask is that you can do occur in future releases and maybe make an adjustment if it is a problem for other users to access this feature.

    Thanks Bob

  • How can I make Foxfire quit gives me the message Firefox prevented this page from automatically redirecting to another page?

    When I'm on some sites Firefox gives me the message Firefox prevented this page from automatically redirecting to another page? and then I have to click on allow. This happens on every page on some sites. How can I make this stop all together?

    Tools-> options-> advanced-> general, then uncheck the warn me when websites try to redirect or reload the page

  • How can I make sure that my kids use no other direct email addresses?

    Summary of the issue
    Other issues of Windows Live family safety

    What version of Windows Live Family Safety do you use?
    Version 2011 (15.4.3538.513)
    Choose your operating system version:
    Windows 7

    Additional details
    My son can connect to her fine Hotmail account, but it can also connect using other Hotmail or Live email addresses. How can I make sure that it can only connect to Hotmail with their family safety account?

    Hi iclay,.

    I have reproduced your concern in our end and I discovered, add other e-mail accounts that he can use and accounts already created by your son in Windows Live family safety and block the Windows Live Hotmail registration page to prevent it from creating an another workaround e-mail accounts.

    To add e-mail as child account in Windows Live Family Safety:

    1. connect your account on http://fss.live.com.
    2. under Family summary, click on Add a new child.
    3. log on to the account of the child

    After that, the child's account appears as a member of the family under the new parent account.

    To block the registration page:

    1. on any computer, connect on the parent account to the safety of the family home page
    2. click Edit settings under the name of your son, and then click Web filtering lists.
    3. enter http://signup.live.com in the box and click on block.
    4. click on Save.

    Please inform us if you have any questions or concerns, we will help you gladly with him.

    Thank you

    Christian C.

  • How can I add a contact form / form of feedback on my site?

    Is there a way to create forms in Muse? Or is there the widgets that can create forms?

    While it is not yet taken native support for web forms in Muse (they are on our roadmap), there are workarounds until we get there. Dani has created a Rough Cut video on how to add a contact form to your Muse site using Business Catalyst. Go to our list of past events of Jam Sessions http://www.adobekb.com/events.html#past and watch the session Adding Contact Forums :

    Users have also reported success adding forms of contact on their website with the help of Adobe FormsCentral, Jotformor Wufoo and inserting them by object > insert HTML code.

    Post edited by: Corey@Adobe
    (Link deleted AdobeTV and link added to the archives of the Jam session)

  • How can I get my contact form to work with my domain or email

    I already have an e-mail address and a contact form on my web page but when my ftp download is said my muse@adobe does not match my other email address how do I change this so when you tap the contact he goes to my own email address

    The email address on the form options must be an address of your domain.

    If your domain is www.mywebspace.com, then your address must be [email protected].

    Do not use an address from other providers like [email protected] or [email protected].

    Fenja

  • How can I make my site default to the "Home" page loading in the browser of dreamweaver?

    When loading my site it goes to the 'Contact' page first.  How can I get the browser to display the "Home" page in Dreamweaver 20141?

    Thank you

    Your hosting server will have a list of names by default it uses for the homepage of your site, as one of these names the page exists in the folder root of your remote site, it will be the first thing to happen when someone goes to www.yoursite.com.

    Index.HTML is the most common kind of window files of DW with your change of open defined Site, the name of the page that you use as the home page of your site to index.html as Ben says, also make sure that it is in the folder local root (not in any subdirectory). Change in the files window will allow DW to re - write all the links to this page located on your other pages. Download pages everything has changed and your homepage will appear by default.

  • How can I make a permanent change in the zoom level?

    I want to know how I can make a permanent change is the zoom level? I don't want to constantly have to change the default value of 100% whenever I go to another page. Thank you.

    Hello

    You can also use the NoSquint add-on to change the zoom level by default for all websites at the same time. After setting your zoom level, you can adjust the zoom on different sites and set the options for NoSquint remembers the settings for each site.

    After installation of NoSquint, go to the Add-ons page to define the settings for each site:

    • Tools (or

      ) > Addons > Extensions

    • Click on the button 'Options' of NoSquint

Maybe you are looking for