Please help !! Contact form not sending mail

www.concretegta.com
in the contact us page i have made a little contact form, but i am not recieving mail to my email. Can someone please help, http://www.concretegta.com/contact.html is where the form is.
this is the coding for the php
<?php
$mailto = '[email protected]' ;
$subject = "Feedback from General Concrete Solutions" ;
$formurl = "http://www.concretegta.com/contact.html" ;
$thankyouurl = "http://www.concretegta.com/emailsent.html" ;
$errorurl = "http://www.johnsmith.com/oops.html" ;
$email_is_required = 1;
$name_is_required = 1;
$comments_is_required = 1;
$uself = 0;
$forcelf = 0;
$use_envsender = 0;
$use_sendmailfrom = 0;
$smtp_server_win = '' ;
$use_webmaster_email_for_from = 0;
$use_utf8 = 1;
$my_recaptcha_private_key = '' ;
// -------------------- END OF CONFIGURABLE SECTION ---------------
define( 'MAX_LINE_LENGTH', 998 );
$headersep = $uself ? "\n" : "\r\n" ;
$content_nl = $forcelf ? "\n" : (defined('PHP_EOL') ? PHP_EOL : "\n") ;
$content_type = $use_utf8 ? 'Content-Type: text/plain; charset="utf-8"' : 'Content-Type: text/plain; charset="iso-8859-1"' ;
if ($use_sendmailfrom) {
ini_set( 'sendmail_from', $mailto );
if (strlen($smtp_server_win)) {
ini_set( 'SMTP', $smtp_server_win );
$envsender = "-f$mailto" ;
$fullname = isset($_POST['fullname']) ? $_POST['fullname'] : $_POST['name'] ;
$email = $_POST['email'] ;
$comments = $_POST['comments'] ;
$http_referrer = getenv( "HTTP_REFERER" );
if (!isset($_POST['email'])) {
header( "Location: $formurl" );
exit ;
if (($email_is_required && (empty($email) || !preg_match('/@/', $email))) || ($name_is_required && empty($fullname)) || ($comments_is_required && empty($comments))) {
header( "Location: $errorurl" );
exit ;
if ( preg_match( "/[\r\n]/", $fullname ) || preg_match( "/[\r\n]/", $email ) ) {
header( "Location: $errorurl" );
exit ;
if (strlen( $my_recaptcha_private_key )) {
require_once( 'recaptchalib.php' );
$resp = recaptcha_check_answer ( $my_recaptcha_private_key, $_SERVER['REMOTE_ADDR'], $_POST['recaptcha_challenge_field'], $_POST['recaptcha_response_field'] );
if (!$resp->is_valid) {
  header( "Location: $errorurl" );
  exit ;
if (empty($email)) {
$email = $mailto ;
$fromemail = $use_webmaster_email_for_from ? $mailto : $email ;
if (function_exists( 'get_magic_quotes_gpc' ) && get_magic_quotes_gpc()) {
$comments = stripslashes( $comments );
$messageproper =
"This message was sent from:" . $content_nl .
"$http_referrer" . $content_nl .
"------------------------------------------------------------" . $content_nl .
"Name of sender: $fullname" . $content_nl .
"Email of sender: $email" . $content_nl .
"------------------------- COMMENTS -------------------------" . $content_nl . $content_nl .
wordwrap( $comments, MAX_LINE_LENGTH, $content_nl, true ) . $content_nl . $content_nl .
"------------------------------------------------------------" . $content_nl ;
$headers =
"From: \"$fullname\" <$fromemail>" . $headersep . "Reply-To: \"$fullname\" <$email>" . $headersep . "X-Mailer: chfeedback.php 2.16.2" .
$headersep . 'MIME-Version: 1.0' . $headersep . $content_type ;
if ($use_envsender) {
mail($mailto, $subject, $messageproper, $headers, $envsender );
else {
mail($mailto, $subject, $messageproper, $headers );
header( "Location: $thankyouurl" );
exit ;
?>

>? i dont understand why there would be secuirity
>risks... did i do something wrong??
Most of the time McAfee SiteAdvisor gets it right but it's not perfect. It's possible there is something suspicious on your site but if you think everything is ok request a review:
https://www.siteadvisor.com/analysis/recommendchanges/?url=http%3A//www.concretegta.com/

Similar Messages

  • April 1 2013 - contact form not sending - need a review of code - see below

    i have a html5 responsive design for website - tested out the contact page and the [email protected] email links in the about and at bottom of website in dreamweaver CS5 on my computer and it works - these do not work when tested from iphone or other computer - can you review the code below and provide any soultions to get the email links and the contact page to work?
    <div class="space"> </div>
            <div class="clear"> </div>      
            <div class="clear"> </div>
          </div>
        </div>
        <div class="page" id="contact">
          <!-- page contact -->
          <h3 class="page_title"> Let's Get Started</h3>
          <div class="page_content">
            <fieldset id="contact_form">
              <div id="msgs"> </div>
              <form id="cform" name="cform" method="post" action="">
                <input name="name" type="text" class="whitetextcontent" id="name" onfocus="if(this.value == 'Full Name*') this.value = ''"
                                onblur="if(this.value == '') this.value = 'Full Name*'" value="Full Name*" />
                <input name="email" type="text" class="whitetextcontent" id="email" onfocus="if(this.value == 'Your Email Address*') this.value = ''"
                                onblur="if(this.value == '') this.value = 'Your Email Address*'" value="Your Email Address*" />
                <input name="subject" type="text" class="whitetextcontent" id="subject" onfocus="if(this.value == 'Subject*') this.value = ''"
                                onblur="if(this.value == '') this.value = 'Subject*'" value="Subject*" />
                <textarea name="message" class="whitetextcontent" id="message" onfocus="if(this.value == 'Your Message*') this.value = ''"
                                onblur="if(this.value == '') this.value = 'Your Message*'">Your Message*</textarea>
                <button id="submit" class="button"> Send Message</button>
              </form>
            </fieldset>
            <div class="clear"> </div>
          </div>
        </div>
        <div class="footer">
          <p><a href="mailto:[email protected]">© 2013 Karen P White Design, LLC</a></p>
        </div>
      </div>

    greetings everyone -
    thank  you for your quick replys - i reviewed and did some digging .....
    to answer some of your Qs:
    J Carp:  thanx for noting the blank between""   i found a contact.php file and added "[email protected]" between the "" so it would point to the PHP script that processes the form.
    M summers: the forms code is in php for the contact forms subscription.  index html for the main page and contact.php for form part
    Nancy O - not sure i understand this fully "
    "mailto: links only work on devices that have dedicated e-mail software installed on them.  If the end user doesn't have e-mail software, the mailto link does nothing.".... "
    Best practice is to use a form-to-email processing script that hides your address from robots and has spam prevention built in.
    Contact your web host.  Many hosts provide scripts on their servers which you can activate through your Admin Panel or by referencing the script in your form's action attribute.
         <form action="path-on-server/form-to-email-script.php">"
    BUT it helped me to see that i had to dig and look for other files that needed editing. thanx
    i have done testing from different browsers on different computers for the contact form send/submit page and it is working so far.
    thank you all for this information - it all has helped. i will be reviewing the email "mailto" href link now to see if that works....
    KPW

  • Muse form not sending mail to 123-reg email address (e.g. name@mydomain.co.uk)???

    Any help on this would be helpful - pretty sure is host settings but can't for the life of me find where it is or what to change it to?

    Visit http://my-site.com/scripts/form_check.php (replace my-site.com with actual domain) in a web browser and make sure you see all green checkmarks. If some items do not display green checkmarks that means that the hosting server is not configured correctly to allow the Form widgets to send email messages to the address you've specified.
    Contact your web-hosting provider about the server configuration problem. Describe the items that are not marked as green in the form check page, so that they can help you set up the servers to use the correct settings.

  • Adobe Muse Contact Form not sending submissions to my email

    I have been trying to troubleshoot this for a few days now and still no luck. This email in Muse is from my hosting site and everything so that's not the problem. Any help would be greatly appreciated. Thanks!

    I have been trying to troubleshoot this for a few days now and still no luck. This email in Muse is from my hosting site and everything so that's not the problem. Any help would be greatly appreciated. Thanks!

  • I can not send mail when at school. Please help

    I can not send mail when at school. Please help

    What is the email provider? If it is from your home Internet service provider, they usually block sending when not on their network. If this is the case, see if you can log into the smtp server with username and password. If they allow that, you can enter that in the email account settings.

  • Why is my php form not sending to my e-mail?

    Here i have the code for my .php document and the code for my html. Why is the form not sending to my e-mail ([email protected])? At one point I had the form sending to my e-mail, but the information that was filled out was not appearing. Now no email is being sent at all. I tried a contact-us.php page with the php email code in the same document and now have the information in seperate documents, but I am getting the same results every which way. I need help I have been checking this over for hours and looking up solutions online but it all is very confusing. PLEASE HELP!
    send.php
    <?php
    if ($_POST['parse_var'] == "contactForm") {
              $emailTitle = 'Scheduele In Home Consultation or General Question';
              $yourEmail = '[email protected]';
              $firstName = $_POST['FirstName'];
              $lastName = $_POST['LastName'];
              $phoneNumber = $_POST['PhoneNumber'];
              $emailAddress = $_POST['EmailAddress'];
              $Message = $_POST['Message'];
              $body = <<<EOD
    <br><hr><br>
              First Name: $firstName <br />
              Last Name: $lastName <br />
              Phone Number: $phoneNumber <br />
              Email Address: $emailAddress <br />
              Message: $Message <br />
    EOD;
              $headers = "From: $emailAddress\r\n";
              $headers .= "Content-type: text/html\r\n";
              $success = mail("$yourEmail", "$emailTitle", "$body", "$headers");
              $sent = "Thank you! Your message has been sent.";
    ?>
    contact-us.html
          <form action="send.php" method="post" name="contactForm" id="contactForm">
            <table width="75%" align="left" cellpadding="5" id="contactustable">
              <tr>
                <td><label for="FirstName"></label>
                  <span id="sprytextfield1">
                  First Name<br>
                  <br>
                  <input type="text" name="FirstName" id="FirstName" value="<?php print "$firstName"; ?>">
                <span class="textfieldRequiredMsg">Please enter your first name.</span></span></td>
              </tr>
              <tr>
                <td> </td>
              </tr>
              <tr>
                <td><label for="LastName"></label>
                  <span id="sprytextfield2">
                  Last Name<br>
                  <br>
                  <input type="text" name="LastName" id="LastName" value="<?php print "$lastName"; ?>">
                <span class="textfieldRequiredMsg">Please enter your last name.</span></span></td>
              </tr>
              <tr>
                <td> </td>
              </tr>
              <tr>
                <td><label for="PhoneNumber"></label>
                  <span id="sprytextfield3">
                  Phone Number<br>
                  <br>
                  <input type="text" name="PhoneNumber" id="PhoneNumber" value="<?php print "$phoneNumber"; ?>">
    <span class="textfieldInvalidFormatMsg">Please enter your phone number.</span></span></td>
              </tr>
              <tr>
                <td> </td>
              </tr>
              <tr>
                <td><label for="EmailAddress"></label>
                  <span id="sprytextfield4">E-mail Address<br>
                  <br>
                  <input type="text" name="EmailAddress" id="EmailAddress" value="<?php print "$emailAddress"; ?>">
                <span class="textfieldRequiredMsg">Please enter your e-mail address.</span><span class="textfieldInvalidFormatMsg">Example: [email protected].</span></span></td>
              </tr>
              <tr>
                <td> </td>
              </tr>
              <tr>
                <td height="255"><label for="Message"></label>
                  <span id="sprytextarea1">
                  Message:<br>
                  <br>
                  <textarea name="Message" cols="85%" rows="12" id="Message"><?php print "$Message"; ?></textarea>
                <span class="textareaRequiredMsg">A value is required.</span></span></td>
              </tr>
              <tr>
                <td> </td>
              </tr>
              <tr>
                <td><input type="submit" name="Reset" id="Reset" value="Reset">
                  <input type="hidden" name="parse_var" id="parse_var">             
                <input type="submit" name="Submit" id="Submit" value="Send Message"></td>
              </tr>
              <tr>
                <td><?php print "$sent"; ?></td>
              </tr>
            </table>
          </form>

    tonyb1117 wrote:
    It works! Thank you very much for pointing that out "bregent" and "osgood_". I have one more small problem though, when signing out my contact form the phone number field does not accept any phone number?
                  <input type="text" name="PhoneNumber" id="PhoneNumber" value="<?php print "$phoneNumber"; ?>">
    <span class="textfieldInvalidFormatMsg">Please enter your phone number.</span></span></td>
    Any solutions?
    I don't know anything about Spry validation of form fields but I think it requires you to set the type of validation, i.e., text, email, number.
    Have you looked in that direction.
    I presume what youre saying is when you hit send you get a red message saying phone number is not valid or something along those lines?

  • CiscoWorks LMS 3.2 Not sending mail

    HI,
    I have got a CiscoWorks LMS which is not sending mail for HUM reports.
    Here's the log that I receive when it is supposed to send the mail in smtp.log
    [ Sun Oct 16 13:17:42 CAT 2011 ] INFO   [MailUtility : isMailServerWorking]  : The mail server [10.102.247.57] is responding
    I can telnet to the server port 25. No authentication is required for sending mail to local domain.
    There is a MacAfee Agent but it is configured to send mail.
    I don't have a clue what is causing it.
    Could you please help.
    Thanks,
    Ashley

    Hi,
    Are other email messages being sent as expected? 
    Do you have a size limit defined under CS > Server > Admin > System Preferences?
    Have you verified the email leaves the LMS server?
    Are there any related logs on you mail server?
    Does the condition persist when you disable any host firewall and anti-virus agents?
    Try some debugging:

  • Can not send mail with verizon email

    Please help me! I can not send mail useing my Verizon email. I can recieve but not send. I am not that savy so please help me!

    your outgoing mail should be:
    SMTP mail server:  outgoing.verizon.net
    you should have a password set
    SSL should be off
    authentication should be password
    server port 25

  • Can not send mail with google account

    I have the Ipad in the 3G model but I am unable to send mail using my google account that is linked to it. If I was to go on the internet on it and send things through google it would let me but I need to be able to send attchments off the ipad so need to be able to use the mail app. I keep getting a message saying Cannont send mail the sender address was invalid. Please help

    I am having alot of trouble with my ipad(3G) and mail using gmail push set up using exchange server. It seems like every couple days it will not send mail and says unknown recepient or invalid. Then the next day it will work. I've deleted and set up the email account a few times. Same thing happens. If I just use a normal non push gmail account that works fine, but I'd like the gmail push to work. I have a strong wireless signal when this happens.
    Any ideas?
    thx
    lenn

  • ALERT---ALERT since upgrading to last version 1/2 hour ago I can NOT send mail-ALERT ---

    HI,
    I upgraded to the latest version half an hour ago. My TB is in French. Since then I can NOT send mail. A window appears with the mention " adjunction of // ajonction de" and the blue bar keeps going up to 10 minute. After 10 min i decided to abort, restart TB, make another testmail but same problem.
    Please act quickly

    Hello,
    Certain Thunderbird problems can be solved by peforming a ''Clean Reinstall''. This means you remove Thunderbird's Program Files then reinstall Thunderbird. Please follow these steps:
    #Download the latest version of Thunderbird from http://www.mozilla.org/en-US/thunderbird/ and save the setup file to your computer.
    #After the download is complete, close all Thunderbird windows (Click Exit/Quit from the menu button on the right).
    #*'''Windows:'''
    #** C:\Program Files\Mozilla Thunderbird\
    #** C:\Program Files (x86)\Mozilla Thunderbird\
    #*'''Mac:''' Delete Thunderbird from the Applications folder.
    #*'''Linux:''' If you installed Thunderbird with the distro-based package manager, you should use the same way to uninstall it - see [[Installing Thunderbird on Linux]]. If you downloaded and installed the binary package from the [http://www.mozilla.org/en-US/thunderbird/ Thunderbird Download Page], simply remove the folder ''thunderbird'' in your home directory.
    #Now, go ahead and reinstall Thunderbird:
    ##Double-click the downloaded installation file and go through the steps of the installation wizard.
    ##Once the wizard is finished, choose to open Thunderbird after clicking the Finish button.
    <b>WARNING:</b> Do not run Thunderbird's uninstaller or use a third party remover as part of this process, because that could permanently delete your Thunderbird data, including but not limited to, extensions,emails, personal settings and saved passwords. <u>These cannot be recovered unless they have been backed up to an external device!</u>
    Please report back to see if this helped you!
    Thank you.

  • N8 Mail for Exchange (can not send mails)

    Hi guys,
    I just got my new Nokia N8. I already setup Mail for Exchange via IMAP to sync the mails, contacts and the calendar of my private mailbox.
    Everything runs alright. But I can not send mails via Mail for Exchange. If I push on "New Mail" the program say the command can not be executed and breaks down.
    Does someone know how to fix that problem?
     Thanks from Liechtenstein.
    Phil

    Hi,
    I also had problems with unable to send emails.
    I was getting error messages in the Mail for Exchange (MfE) log files such as
    Setting DISK FULL status to false
    Error occurred during sending mail. Setting status to waiting for reconnect
    HTTP failure while sending messages.
    I figured out a work around. The problem seemed to be with the certificate.
    I ended up deleting the certificate and then only selecting "Accept this time only" which made everything work.
    I am using a Nokia 5800.
    To delete a certificate goto
    Setting > Phone > Phone mgmt > Security > Certificate Management > Trusted site certificates
    find the offending certificate and delete it.
    The next time I tried to synchronize my emails with Mail for Exchange, I was asked to select whether to accept the certificate... press the option button.
    Then select "accept this time only".
    After doing that, the emails in the outbox were sent properly.
    I have to figure out how to get this to work permanently, but for the moment it was a quick fix.
    [I hope this helps. I tried to be as descriptive as possible and write with correct spelling so that search engines will collect it.]

  • Bursting Program not sending mails

    Bursting Program is not sending mails , we have checked everything and looking good , not generating logs.
    XML Publisher: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XDOBURSTREP module: XML Publisher Report Bursting Program
    +---------------------------------------------------------------------------+
    Current system time is 14-JAN-2014 07:50:56
    +---------------------------------------------------------------------------+
    XML/BI Publisher Version : 5.6.3
    Request ID: 101436869
    All Parameters: Dummy for Data Security=Y:ReportRequestID=101245852:DebugFlag=Y
    Report Req ID: 101245852
    Debug Flag: Y
    Updating request description
    Updated description
    Retrieving XML request information
    Node Name:RPC5150
    Preparing parameters
    null output =/u000/oracle/PTCCON/apps/apps_st/appl/xdo/12.0.0/out/ESCM1/EM185082.101436869
    inputfilename =/u000/oracle/PTCCON/apps/apps_st/appl/ncr_custom/ncrx/12.0.0/out/ESCM1/EM185082.101245852
    Data XML File:/u000/oracle/PTCCON/apps/apps_st/appl/ncr_custom/ncrx/12.0.0/out/ESCM1/EM185082.101245852
    Set Bursting parameters..
    Temp. Directory:/tmp
    [011414_075107900][][STATEMENT] Oracle XML Parser version ::: Oracle XML Developers Kit 10.1.3.130 - Production
    [011414_075107910][][STATEMENT] setOAProperties called..
    Bursting propertes.....
    {user-variable:cp:territory=US, user-variable:cp:ReportRequestID=101245852, user-variable:cp:language=en, user-variable:cp:responsibility=51687, user-variable.OA_MEDIA=http://ESPROD.daytonoh.ncr.com:8008/OA_MEDIA, burstng-source=EBS, user-variable:cp:DebugFlag=Y, user-variable:cp:parent_request_id=101245852, user-variable:cp:locale=en-US, user-variable:cp:user=EM185082, user-variable:cp:application_short_name=XDO, user-variable:cp:request_id=101436869, user-variable:cp:org_id=152, user-variable:cp:reportdescription=NCR_MFS_ACKNWLG_PDF_REP, user-variable:cp:Dummy for Data Security=Y}
    Start bursting process..
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed
    Current system time is 14-JAN-2014 07:51:08
    +---------------------------------------------------------------------------+

    I was troubleshooting my own issue noted above and tried to send the attachments via gmail's web interface (bypassing Apple Mail). This time, gmail provided an error message stating that the file contained a virus.
    Since it was a zip of several Word docs, I saved them as PDFs and then rezipped, and Apple Mail sent them off like a champ.
    Evidently, Mail does not have a method for relaying the precise nature of the error message that gmail sends (in this case that the attachment had what gmail thought was a virus). This would be a prime area for some software developers to tackle on a future version of Mail.
    By the way, the files almost certainly do not contain viruses; they are extremely old Word Docs that have been on my successive Mac hard drives for at least 9 years. Too old a format for gmail to recognize?
    Hope this helps someone who may be having the same trouble.

  • How can I create a contact form for sending emails in SharePoint Online?

    Dear Forum members,
    I´ve got a question about creating a custom contact form to send emails for a public site in SharePoint online.
    Could someone help us with some advise?
    In advance, thank you very much.
    Kind regards,
    Frits

    You can create Custom list and make alerts enable to send emails as soon as contact created.
    Bala

  • Adobe muse CC contact form not emailing correctly

    the adobe muse contact form not emailing to address in form. it's correct within form, link in Muse, and the address is correct within web hosting files. please advise. thx

    Responded to your other thread - http://forums.adobe.com/message/5555450#5555450.
    Thanks,
    Vinayak

  • Can  not send mail using wifi at a motel .I can receive mail fine

    can  not send mail using wifi at a motel .I can receive mail fine

    Hi there tamarafromdarien,
    You may find the troubleshooting steps for iCloud Mail in the article below helpful.
    iCloud: Troubleshooting iCloud Mail
    If you can't send mail in OS X Mail
    If you receive this alert or a similar alert when sending a message from your iCloud email address in OS X Mail:
    “This message could not be delivered and will remain in your Outbox until it can be delivered. The reason for the failure is: An error occurred while delivering this message via the smtp server: server name.”
    In OS X Mail, choose Preferences from the Mail menu.
    Click Accounts in the Preferences window.
    Select your iCloud account from the list of accounts.
    Click the Account Information tab.
    Choose your iCloud account from the Outgoing Mail Server (SMTP) pop-up menu. Example: “Derrick Parker (iCloud)”.
    Note: The Outgoing Mail Server (SMTP) menu also includes an Edit SMTP Server List command. If you choose this command, be aware that the iCloud SMTP server won't be among the servers that can be edited. This is normal.
    If you're attaching a large file
    Message attachments can't exceed the maximum size allowed by your email service provider or the recipient's email service provider. The maximum size varies by service provider. Try compressing the filebefore sending it, or send your message without the attachment to verify that there are no issues with sending.
    -Griff W.  

Maybe you are looking for

  • Zen Stone Plus won't turn

    Hi,I recieved a new zen stone plus for christmas and it told me to charge it for at least 3 hours.Well...it's been 2 days and I can't get it to respond or turn on. It responds when i plug it into the usb and it says it's charging, but the light never

  • How to setup airprint with my canon printer

    How to setup airprint with my canon printer asnd ipad 3

  • OSS 650345 . Error : Enter Numeric Value

    Hi All, I had applied the OSS Note 650345. With this OSS Note we can Upload Data in Background for Transaction's KP06 & KP46. While using Excel Upload in KP06 Transaction to upload the data it is working fine. When I use the same file from Applicatio

  • MAC OS machine authentication

                       any help about configuring MAC OS to work with ISE and 802.1x machine authentication?

  • Where does Lion save my Address Book contacts?

    I've returned to Snow Leopard and am restoring my data manually from a Time Machine backup, but I can't find my contacts. Where has Lion hidden them? and has anyone restored them from Lion to SL?