automatic e-mail response?

Good afternoon

I have a page of contact on a site, name, email address and message all in PHP

is it possible that I can have an auto-reply email to be sent to the sender, a thank you page is sent when the sender clicks on send

I know that I can use host to an automatic response, but that would be all of my email I receive, I have strictly want the answer of the contact form

Thx for your help

RJweb wrote:

I have a page of contact on a site, name, email address and message all in PHP

is it possible that I can have an auto-reply email to be sent to the sender, a thank you page is sent when the sender clicks on send

Adapt your script to send a second email.

mail($to, $subject, $message);

if (isset($_POST['email'])) {
  // perform a check here to make sure it's an email
  // for example, if you're using PHP 5.2 or above

  $valid = filter_input(INPUT_POST, 'email', FILTER_VALIDATE_EMAIL);
  // after the check, send a message
  if ($valid) {
    mail($_POST['email'], 'Thank you for contacting us',
      'Thank you for your comments. We will be in touch shortly, if necessary.');
  }
}

Tags: Dreamweaver

Similar Questions

  • Turn off office or automatic e-mail response

    Hi, I set up my out of office a year ago, when I went on maternity leave, and now I can't figure out how to turn off. I have the feeling that I do not do it the conventional way and there must be many ways to implement one of them. If you have any ideas on how to cut the auto email that is sent for ever the person who sends me, please let me know.
    Thanks, Angela

    Out of office responses are best set up in webmail account that you access using a browser.
    In order to check it there first.

    If you set up in Thunderbird, then you should leave the computer and Thunderbird running connected to the internet all the time.
    You have created an email from model to use. It is in the folder "Templates".
    You would have also established a Message Filter to answer e-mails in the address book using the email template.
    To check in the Message filters for a filter makes it.
    Tools > Message filters
    or
    Menu icon > Message Filters > Message filters

  • Mail > response does not

    Mail > response produces a form of empty e-mail without the sender address and not display any message from the sender. The blank form cannot be deleted.

    Please, start with one simple step: leave then to restart the Mail. If there is no change, see below.

    This procedure is a diagnostic test. It is unlikely to solve your problem. Don't be disappointed when you find that nothing has changed after you complete it.

    The test is intended to determine if the problem is caused by a third-party software that loads automatically at startup or logon, by a device, by a police conflict or corruption of system files or some system caches.

    Disconnect all devices wired except those required to test and remove all the expansion cards from secondary market, as appropriate. Start in safe mode and log on to the account of the problem.

    Note: If FileVault is enabled in OS X 10.9 or an earlier version, or if a firmware password is defined, or if the boot volume is a software RAID, you can not do this. Ask for additional instructions.

    Safe mode is much slower to boot and run as normal, with limited graphics performance, and some things work at all, including an audio output and a Wi - Fi connection on some models. The next normal boot can also be a bit slow.

    The login screen is displayed even if you usually connect automatically. You need your password to log on. If you have forgotten the password, you will have to reset it before you begin.

    Test in safe mode. Same problem?

    After testing, restart as usual (not in safe mode) and make sure you always have the problem. View the results of the test.

  • How can I automatically have mail be categorized in the subfolders contained in the incoming mail?

    How do I train incoming emails to automatically placed in certain subcategories of incoming mail created such as ads, work and family? In Outloook I create rules of message for some e-mails from certain senders.

    Thunderbird calls them the message filters. Otherwise, the concepts are essentially the same.

  • Deliver the mail client. Can't see the e-mail responses.

    original title: mail

    Why my e-mail address would show that I have 1 and when I answer it and then they send it as a response it shows 2 but it does not show their response just the original?

    This can be caused by scanning your mail entering with an antivirus program.  Clear this analysis.

  • E-mail response in outlook express using the default email

    The default email in Outlook Express address is * address email is removed from the privacy *

    When we click on answer the e-mail, the e-mail address of the sender indicates * address email is removed from the privacy *, instead of * address email is removed from the privacy *

    We tried to change the (name) e-mail account and the information of the user (name) in the aphabetic order (numeric). But it does not work. We have also tried to change in order that e-mail account has been set up. Yet once, it does not work.

    Your colleague suggested changing the rules of Message. But it may apply here.

    Please let know us how we can fix this problem.

    You can set default email under Tools | Accounts | Mail | Properties.  OE will then use it by default, but if the e-mail was sent to a different e-mail address, when you reply, OE will use this e-mail address and not the default value in the response.  If you cannot set the e-mail by default, or if OE doesn't know it, then you can go to file | Identities and install a new identity and add your mail accounts to ensure that identity and that should solve the problem.

    Steve

  • Windows Mail responses contain unwanted additional information at the top but regularly sends don't - want to elimate answers

    I have vista home premium 32 bit on my laptop and I use Windows Mail and I'm having a problem. If a person of my company sends me it comes in fine. When I answer, however, they receive a mess of data at the top of the answer of the message that seems to give them all sorts of information on my laptop and computer-info. If I generate a new email to anyone in my company, they receive those fine. THUS, it seems that you answer is the question.

    Any help out there?  How can I remove these unwanted responses data (and transfers as well by the way)?

    Thank you in advance for your help!

    The problem has been resolved by validating my account in Windows Mail.  I have no idea why it was right and necessary, as I had used it for 2 years, it started to arrive there shortly, but since there were no problems reported so that seems to have solved the problem.  I'm sorry that I can not credit anyone with the answer because no one has suggested this solution and I found on yahoo and tried and it seems to have done the trick.

    Thanks for trying to help.  Still, I'll post here if I have any other questions or problems.

  • BlackBerry 10 can't disable synchronization of the automatic e-mail / 10.3.1 on Q10

    Hello

    I all synchronization activity (OS, email, CalDAV and CardDAV contacts calendars accounts) set to 'Manual', but the mail accounts keep being synced at least one<1 hour="">

    OK, so it turns out that I was a bit of a * beep *:

    Both my mail is still had "use PUSH mail if taken in charge" activated. Because IMAP IDLE/PUSH is supported by both servers, obviously I have alwas would get e-mails instantly...

    Disabled, now everything is good and I feel stupid.

    My calendar, although always automatically synchronizes although being set to manual, but who is not as critical for me. If anyone has an idea why this is happening, please tell me.

  • will I receive an e-mail response?

    What I have to keep this post open for a response, or will it be by e-mail?

    Hello

    No, normally we don't answer emails and private messages. You must keep your message (s) and you will receive an email with a link to your message every time that you got a response.

    I hope this helps.

  • RE: WebOS 1.4.5 E-mail response buttons

    When you view an e-mail, there is an arrow to the left, followed by another double-back arrow that both seem to work like a button "email response.  Can someone clarify the exact use of the buttons?  Thank you.

    The one with an arrow is the sender's response, while the one with the 2 arrows is to respond to all.

  • Send settings &gt; &gt; automatically retrieve mails via WiFi or 3G

    Hi all, how can I configure my e-mail system (Treo Pro unlocked with WM 6.1) to recover emails by giving priority to a WIFI internet connection, and if it is not automatically find swith for a 3G / GPRS connection.

    I have allways need to manually change in mail > tools > Options > "my mail" > change accounts configuration > Advanced Server Configuration > Net connection > and select Internet or WAP.

    can it be implemented?

    where and how?

    Thank you

    I think I managed to solve...

    I chose "My ISP" as a communication connection. This connection has an option that is > "Automatic Selection", so if she checked he decided between your WiFI connection or your 3 G / GPRS.

    It worked fine even with my POP3 e-mail accounts.

    Remember to change this default configuration with one provided by your operator Celular GPRS / 3 G works correctly.

    Message is about: Treo Pro (unlocked) T850U

  • E-mail response Report or dashboard

    Is there a way we can e-mail any report of dash or responses to any one? For example, I have a report, sales by country and want to send by e-mail to user's outlook. If the user, double-click the report, run the report.

    So you send it to another user OBIEE? If this isn't the case, then you may not. If you are, then proceed as follows:

    1) go to the Advanced tab of the report.

    (2) copy the XML data in the window.

    (3) paste it into Notepad and send it as an attachment.

    The end user, at the reception, can open Notepad, copy the XML data access to the Clipboard, then open any field answers, go to the tab advanced, delete what is in the XML window, paste what is on the Clipboard and click the XML button.

    Now, the recipient has the same exact report as you do.

  • Thunderbird installed 38 &amp; now the PC freezes. No response from mouse &amp; KB. What should do? How knowledge is there a w/o e-mail response?

    As explained in the summary...

    Version of Thunderbird installed 38 last night. This morning I have urgent questions on the email.

    I open Thunderbird and before it finishes downloading the mails from the server, and sometimes even before the end of the authentication password for the accounts, if freezes. I restarted three times with zero improvement. Mouse and KB are both unresponsive while the LED mouse works when the mouse moves and indicators CAPS etc meet key activities respective, so devices are working on their own, but Mozilla Thunderbird blocks the communication between them and the PC.

    Now, I don't have access to email and no way to know when there is an answer to this! Nice!

    What exactly is necessary to make Thunderbird work? And how can I find out about it without any email?

    I use Windows 7 on a PC. I use Firefox and Open Office, no other product from Ms.

    PS: I have an account already, but you do not provide a way to recover passwords, so that's my account 02!

    Try turning off hardware acceleration.
    Tools (Alt - T) - Options - Advanced - general tab
    Uncheck the "use hardware acceleration".

    What is your anti-virus software?

    THREE calls to your London Office

    Mozilla does not support. This forum is the official place to support Thunderbird. Most of the people here are volunteers devoting their time to help other users.

  • Menu with mail response, missing forward etc.

    Missing the mail Menu to front etc, reply, reply to all, when I want to send an e-mail. I checked the toolbars and Menu Mail is checked, however I can't send messages. I have Windows 7 and I use Mozilla Thunderbird.

    Hello

    To better help you with your question, please provide us with a screenshot. If you need help to create a screenshot, please see How to make a screenshot of my problem?

    Once you have done so, attach the file to screen shot saved to your post on the forum by clicking on the button Browse... under the box to post your reply . This will help us to visualize the problem.

    Thank you!

  • cannot if register - Mozilla e-mail response not reach me

    Tried to confirm foxfire but confirmation email does not reach me.

    If Firefox does not seem to be the story of real-time recording, it is possible that you are using the private browsing mode. If you start with a normal window and then launch a new private window, it should start with an information page and display a special icon on the title bar. If you start Firefox in private mode automatic, so there is no visible indication. To check that you can enter in the Preferences dialog box:

    • "3-bar" menu button (or Firefox) > Preferences > privacy

    If the Middle says "conservation rules: don't remember history" there's your trouble. You can change this to "conservation rules: use the custom settings for history" and uncheck "always use the private browsing mode.

    If Firefox brings together the story in real time, but he went the next time you start it, Firefox may be set to clear the history to the stop. With privacy preferences on "conservation rules: use the custom settings for history" you can see whether "Clear history of Firefox closing" is lit.

Maybe you are looking for