Sendmail.php

Hello,
I'm trying to do a sendmail.php - I looked at this site for
advice - so I pretty much copy & pasted the code from it;
http://www.codetricks.com/article.php?cat=phpmysql&id=11
Having followed the instructions, it seems to have worked,
i.e. gives me the "Thank You" page after sending etc... but I don't
recieve an email - nor does the person sending the message.
Additionally, when I try and click in the boxes to enter the
details (Name, Email and Message) - the curser will only go in the
box if I click the very left hand side - weird?
My site is;
http://www.photographic-repair.com/html_files/contact.html
Can you suggest why it won't work? I'm also looking to add a
feature that will allow the user to upload a photo, which will be
sent to me at the same time as their message - can anyone recommend
how to incorporate this??
Thanks in advance
Ben

Benjohnson20 wrote:
> Hello,
>
> I'm trying to do a sendmail.php - I looked at this site
for advice - so I
> pretty much copy & pasted the code from it;
>
> <a target=_blank class=ftalternatingbarlinklarge
> href="
http://www.codetricks.com/article.php?cat=phpmysql&id=11">http://www.codet
> ricks.com/article.php?cat=phpmysql&id=11</a>
>
> Having followed the instructions, it seems to have
worked, i.e. gives me the
> "Thank You" page after sending etc... but I don't
recieve an email - nor does
> the person sending the message.
Have you uploaded the two pages to your server or are you
testing them
locally ie (not uploading them)
I tested out the files on the page you mentioned and they
didnt work on
my local server but they worked fine when I uploaded to my
remote server.

Similar Messages

  • Really strugling with sendmail.php please help

    Hi All,
    Please could anyone tell me why the following is not working ?
    Ok firstly this is the text that makes up the form on the webpage:
    <form action="sendmail.php" method="post" enctype="multipart/form-data" name="form1" id="form1">
             <table class="form">
              <tr>
               <td style="height:26px"><input name="Name" type="text" value="Name"></td>
              </tr>
              <tr>
               <td style="height:26px"><input name="E-mail" type="text" value="E-mail"></td>
              </tr>
              <tr>
               <td style="height:26px"><input name="Phone" type="text" value="Phone"></td>
              </tr>
              <tr>
               <td style="height:140px"><textarea name="Message" cols="0" rows="0">Message</textarea><br>
                <br style="line-height:9px">
                <div style="text-align:right">
                 <span><a href="[email protected]" onClick="document.getElementById('form1').reset()">clear</a></span><img src="images/spacer.gif" alt="" width="10" height="1"><span><a href="[email protected]" onClick="document.getElementById('form1').submit('form1')">send</a> </span></div>
               </td>
              </tr>
             </table>
            </form>
    Ok secondly this is the text that makes up the sendmail.php file:
    <?php
    $to = '[email protected]';
    $subject = 'Feedback form results';
    // prepare the message body
    $message = 'Name: ' . $_POST['Name'] . "\n";
    $message .= 'E-mail: ' . $_POST['E-mail'] . "\n";
    $message .= 'Phone: ' . $_POST['Phone'] . "\n";
    $message .= 'Message: ' . $_POST['Message'];
    // send the email
    mail($to, $subject, $message, null, '[email protected]');
    header('Location: http://www.mysite.co.uk/thankyou.html');
    ?>
    I really have no idea why this is not working, when you fill out the form on the website and click the send button it just comes up with an error message, please can anyone help me ? My head is most confused now !!
    Thankyou.

    andy7719 wrote:
    the actual error is a 404, i have contacted the web host and they told me that ment the sendmail.php file was in the wrong place, so i corrected that problem and i still get the error, now they say there is a problem with the [email protected] bit, they said its trying to find a page in the public_html folder which does not exist ? for starters its an email address so i have no idea what they are going on about ?
    Yes, the problem is the way you have set up the reset and submit parts of the form. Your code looks like this:
    <span><a href="[email protected]"
    onClick="document.getElementById('form1').reset()">clear</a></span>
    <img src="images/spacer.gif" alt="" width="10" height="1"><span>
    <a href="[email protected]"
    onClick="document.getElementById('form1').submit('form1')">send</a> </span>
    You can't use an email address with href. To create an email link you use mailto instead of href. However, since you're using a PHP script, you don't want a link at all. You should be using reset and submit buttons instead.
    <input type="reset" name="clear" id="clear" value="Clear" />
    <input type="submit" name="send" id="send" value="Send" />

  • PHP form/Captcha alternative

    I have a php form that works fine. In part: <form method="post" action="sendmail.php">
    Now, to add some security to it I created a required field: What is 6 plus 6? A bot can't fill in 12, right? So then the form doesn't go to the sendmail.php file. Is there some reason this won't work? It seems so absurdly simple.

    So then the form doesn't go to the sendmail.php file. Is there some reason this won't work? It seems so absurdly simple.
    Hard to comment without seeing the code.
    Please paste the entire page code (HTML and PHP) here so we can see how it's coded..

  • Flash & PHP

    I have created a database that contains mp3 numbered audio
    such as 411.mp3, 412.mp3. However, in Flash, I cannot play the mp3.
    I am using Flash Pro 2004.
    My mp3 audios are located in this folder.
    /media/aduioSermons/audios
    My flash MediaPlayBack that I used from Flash MX 2004 Pro, in
    the parameters tab I had selected mp3 radio button and then in the
    URL this is what has been typed.
    /media/aduioSermons/audios/<?php echo
    $row_rsAudioSermon['listen']; ?>
    The <?php echo $row_rsAudioSermon['listen']; ?> is my
    database in MySQL that stores the name "411.mp3".
    So my plan is to embed one flash file called
    "audioSermonPreview.swf" and inside that SWF has that URL so when
    it is called up in a details page it plays that clip.
    Is this possible to do or there is no way to link them?
    Thank you for all who help.
    AdonaiEchad
    This is my PHP Page

    Hi all_begin,
    here you have to create an another loadvar (which will be the
    return the data in order to you request ) object like to have made
    "var sendMail_lv:LoadVars = new LoadVars();". The newer may be "var
    resultMail_lv:LoadVars = new LoadVars();" and then you have to put
    this "resultMail_lv" in "sendAndLoad" method of flash like :
    sendMAil_lv.sendAndLoad(
    http://PATHtoMYserver/sendMail.php",
    resultMail_lv "POST");.
    Now, you have to write bit of code in your send_btn.onRelease
    function to load data that you want to get from your php file.
    resultMail_lv.onLoad = function(success:Boolean) {
    if (success) {
    result_ta.text = resultMail_lv.welcomeMessage;
    } else {
    result_ta.text = "Error connecting to server.";
    here " result_ta " will be the text area in which you can
    show the data which is cominig from your php side.

  • PHP Form

    oh no! What do I do now? Please please help!! (thanks!)
    Now look what I got after I hit submit...
    Warning: mail() expects at least 3 parameters, 2 given in
    /home/content/s/t/e/stevensit/html/Corporate_Info/private/sendmail.php
    on line 22
    Warning: Cannot modify header information - headers already
    sent by (output started at
    /home/content/s/t/e/stevensit/html/Corporate_Info/private/sendmail.php:22)
    in
    /home/content/s/t/e/stevensit/html/Corporate_Info/private/sendmail.php
    on line 42
    Attach Code
    <?
    $firstName = $_REQUEST['firstName'] ;
    $lastName = $_REQUEST['lastName'] ;
    $phone = $_REQUEST['phone'] ;
    $address = $_REQUEST['address'] ;
    $address2 = $_REQUEST['address2'] ;
    $city = $_REQUEST['city'] ;
    $state = $_REQUEST['state'] ;
    $zip = $_REQUEST['zip'] ;
    $country = $_REQUEST['country'] ;
    $email = $_REQUEST['email'] ;
    $stevensEP = $_REQUEST['stevensEP'] ;
    $stevensEV = $_REQUEST['stevensEV'] ;
    $stevensHypalon = $_REQUEST['stevensHypalon'] ;
    $stevensGardenTop = $_REQUEST['stevensGardenTop'] ;
    $publications = $_REQUEST['publications'] ;
    $print = $_REQUEST['print'] ;
    $electronic = $_REQUEST['electronic'] ;
    $comments = $_REQUEST['comments'] ;
    mail( "[email protected]", "Stevens Website Email Us Form
    Results");
    $message.=$firstName;
    $message.=$lastName;
    $message.=$phone;
    $message.=$address;
    $message.=$address2;
    $message.=$city;
    $message.=$state;
    $message.=$zip;
    $message.=$country;
    $message.=$email;
    $message.=$stevensEP;
    $message.=$stevensEV;
    $message.=$stevensHypalon;
    $message.=$stevensGardenTop;
    $message.=$publications;
    $message.=$print;
    $message.=$address2;
    $message.=$comments;
    header( "Location:
    http://www.stevens-it.com/Corporate_Info/emailConfirm.html"
    ?>

    You have 5 templates for 60 files? Gad.... Why?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "suddadog" <[email protected]> wrote in
    message
    news:fh9uc2$g7h$[email protected]..
    > lol, no I'm afraid to!
    > I know about 5% of our users have firefox.
    > Why is that what your using?
    > Wait, let me go look at it...
    >
    > It's the bottom "footer" that likes to float.
    > It's a template page.
    > Any suggestions?
    > I'll just have to take it out of the 5 templates and
    apply to every page
    > (60)!
    >
    >
    >

  • Sendmail issues

    Hello all,
    I have Apache, PHP, MySQL and phpMyAdmin set up and running well on my iMac (10.5.4) development computer. I am trying to use the mail(); feature in PHP but I do not think everything is configured properly and am looking for some help. I have this simple script:
    <?php
    //phpinfo();
    $to = "[email protected]";
    $subject = "Hi!";
    $body= "Hi. \n\nHow are you?";
    if (mail($to, $subject, $body)) {
    echo ("Message Sent.");
    } else {
    echo ("Nope");
    ?>
    This is sitting on my testing Virtual Host. I receive the Message Sent part but I never receive an email to my account. Looking through the log files (/var/log/mail), I see a lot of connection refused issues. Here are a couple of lines from the log:
    Aug 28 12:29:27 Malachai postfix/smtp[2888]: connect to mx00.1and1.com[74.208.5.3]: Connection refused (port 25)
    Aug 28 12:29:27 Malachai postfix/smtp[2888]: 365B8117403: to=<[email protected]>, relay=none, delay=32, delays=0.05/0.08/32/0, dsn=4.4.1, status=deferred (connect to mx00.1and1.com[74.208.5.3]: Connection refused)
    Can anyone help me troubleshoot this?
    Thanks,
    Clay

    Welcome to the Apple forums:
    Not to discourage you from posing here, but you might do better reposting in our Unix forum here:
    http://discussions.apple.com/forum.jspa?forumID=735
    The reason is that most of the users that hang out in the Unix forum are probably much more familiar with sendmail, php, terminal usage, etc., than are the users here.

  • Flash cs3 and php problem (system error)

    Hi All,
    Been checking out a free utility, called Tell A Friend - followed the instructions to a t but still getting system error.
    Here is the php code:
    <?php
    $to = ($_POST['friend']);
    $link = ($_POST['link']);
    $subject = "Tell a friend";
    $message = "Your friend ";
    $message .= $_POST['name'] . " wants advice you the following link: ".$link;
    $headers = "My WebSite Name";
    if(@mail($to, $subject, $message, $headers))
    echo "answer=ok";
    else
    echo "answer=error";
    ?>
    The main swf has a main.as attached:
    * Flash Tell A Friend
    * http://www.FlepStudio.org        
    * Author: Filippo Lughi          
    * version 1.0                      
    package
    import flash.display.*;
    import flash.events.*;
    import flash.utils.*;
    import flash.external.*;
    import flash.net.*;
    public class main extends MovieClip
      private const PHP_URL:String="sendMail.php";
      private var checker:CheckEmail;
      private var timer:Timer;
      public function main()
       addEventListener(Event.ADDED_TO_STAGE,init);
      private function init(evt:Event):void
       removeEventListener(Event.ADDED_TO_STAGE,init);
       stage.frameRate=31;
       checker= new CheckEmail();
       addInputListener();
       addSendListener();
      private function addInputListener():void
       clip_mc.name_txt.background=true;
       clip_mc.name_txt.backgroundColor=0x999999;
       clip_mc.name_txt.addEventListener(FocusEvent.FOCUS_IN,onFocusIn);
       clip_mc.name_txt.addEventListener(FocusEvent.FOCUS_OUT,onFocusOut);
       clip_mc.email_txt.background=true;
       clip_mc.email_txt.backgroundColor=0x999999;
       clip_mc.email_txt.addEventListener(FocusEvent.FOCUS_IN,onFocusIn);
       clip_mc.email_txt.addEventListener(FocusEvent.FOCUS_OUT,onFocusOut);
      private function onFocusIn(evt:Event):void
       evt.target.background=true;
       evt.target.backgroundColor=0xFFFFFF;
      private function onFocusOut(evt:Event):void
       evt.target.backgroundColor=0x999999;
      private function addSendListener():void
       clip_mc.send_mc.mouseChildren=false;
       clip_mc.send_mc.buttonMode=true;
       clip_mc.send_mc.addEventListener(MouseEvent.MOUSE_DOWN,onSendDown);
      private function onSendDown(evt:MouseEvent):void
       if(clip_mc.name_txt.text!="")
        if(checker.initCheck(clip_mc.email_txt.text))
         sendEmail();
        else
         displayPhrase("Invalid Email");
       else
        displayPhrase("Invalid name");
      private function sendEmail():void
       clip_mc.send_mc.mouseEnabled=false;
       var variables:URLVariables=new URLVariables();
       variables.name=clip_mc.name_txt.text;
       variables.friend=clip_mc.email_txt.text;
       variables.link=ExternalInterface.call('window.location.href.toString');
       var request:URLRequest=new URLRequest();
       request.url=PHP_URL;
       request.method=URLRequestMethod.POST;
       request.data=variables;
       var loader:URLLoader=new URLLoader();
       loader.dataFormat=URLLoaderDataFormat.VARIABLES;
       loader.addEventListener(Event.COMPLETE,onMessageSent);
       try
        loader.load(request);
       catch (error:Error)
        trace('Unable to load the document.');
      private function onMessageSent(evt:Event):void
       var vars:URLVariables=new URLVariables(evt.target.data);
       if(vars.answer=='ok')
        displayPhrase("Message Sent!");
       else
        displayPhrase("System Error!");
       clip_mc.send_mc.mouseEnabled=true;
       clip_mc.name_txt.text="";
       clip_mc.email_txt.text="";
      private function displayPhrase(s:String):void
       clip_mc.display_txt.text=s;
       resetPhrase();
      private function resetPhrase():void
       timer=new Timer(1500,1);
       timer.addEventListener(TimerEvent.TIMER,hidePhrase);
       timer.start();
      private function hidePhrase(evt:TimerEvent):void
       clip_mc.display_txt.text="";
    Any help appreciated. This is a great viral marketing tool, when it ever works
    Kind Regards,
    Boxing Boom

    Never seen such an error, but if it's in the status bar of the browser then it shouldn't be Flash problem. You can check what's happening in your swf by creating a dynamic text field and setting it's text in every major action, that is: requesting PHP and getting back response, to what's just happened.
    So, on the Flash side you can see whether the browser error stops the PHP script and immobilizes further actions.
    What I'd do is create a new Flash file and PHP file and just send 1 variable to PHP, change it somehow and send it back to Flash and print it in a text field. That way you can check whether it's the method you're using to request PHP or just PHP or something else. Step by step adding complexity and checking on which of these steps the error occurs.
    I wish you good luck.
    Ps. It's probably a very rookie problem, we just don't know the source.

  • Would this PHP Code Work?

    Hello there,
    I'm currently designing a website fot myself but need a page
    where people can send me feedback about the site or leave any
    questions. Now I've used some PHP to accomplish this but I shalln't
    be buying web hosting, etc until I've completely finished the site
    - therefore I am unable to test the the from to see if it works.
    The following is what I have done:
    1:) Created a HTML page with the following inserted into the
    body of the page:
    <form method="post" action="sendmail.php">
    Email: <input name="email" type="text" /><br />
    Message:<br />
    <textarea name="message" rows="15" cols="40">
    </textarea><br />
    <input type="submit" />
    </form>
    2:) I then created a PHP page with only the following code in
    the PHP file:
    <?
    $email = $_REQUEST['email'] ;
    $message = $_REQUEST['message'] ;
    mail( "[email protected]", "Feedback Form Results",
    $message, "From: $email" );
    header( "Location:
    http://www.example.com/thankyou.html"
    ?>
    I would be very grateful if somebody could perhaps test this
    or could tell me that it will indeed work - or as the case maybe,
    it won't.
    All the best,
    Kristopher (UK).

    Coxdabd wrote:
    > I would be very grateful if somebody could perhaps test
    this or could tell me
    > that it will indeed work - or as the case maybe, it
    won't.
    Yes, it will work. It will also turn your website into a
    wonderful spam
    relay. You should never trust user input without checking its
    content.
    Validating user input isn't something that can be covered in
    a simple
    forum post, but one thing that would make your script
    (marginally) safer
    is to remove "From: $email" from the mail() function. As
    currently
    scripted, it's a wide open security gap.
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • E-mail sent from my server continuously deferred

    Hello there,
    My name is Michael Reilly, and I work for Chucklefish games.  We host a webserver at http://playstarbound.com/ and forum at http://community.playstarbound.com/
    For several months now, I have had issues with sending e-mail from my server.  I will need to admit to having been rather confused about how to properly set up SPF, DK, and DKIM DNS records, and getting my mail server to properly sign them.  However, now you can dig my domain and verify that I have it all sorted out.  My selector for DK is mail and my selector for DKIM is dkim.
    Now that I've gotten all of that sorted out, I am attempting to get verizon's webservers to like me.  I followed the whitelist link in the log and I filled out the form.  I received this automated response:
    > After investigation, Verizon Online Security has determined that e-mail from your IP address will not be allowed access to the Verizon Online e-mail domain due to one or more of the following reasons:
    > Your IP has been blocked because of spam issues or because your ISP indicates that it is dynamically assigned
    >  No Reverse Hostname associated with your IP address.
    My IP is statically assigned, and I have an rDNS entry (starbound.dedi.creeperhost.net), which also appears in my SPF record.  So I assume the reason I'm being blocked is that I have "spam issues."
    I will admit to running a very high traffic forums.  And depending on traffic we send between 200-1000 e-mails to @verizon.net addresses a day, depending on a number of factors.  I've attached an example with full headers to the bottom of this post.  These are primarily notification e-mails generated by our forum.  They send e-mails to certain users when threads that they have manually marked as watched and have requested e-mail updates on, are replied to.
    However, we do not spam.  And we require double opt-in for any mailing from our website.
    This is a link to our privacy policy: http://playstarbound.com/privacy-policy/
    I have attempted to contact phone support, but as I do not personally have any verizon services, the customer service representative was unable to assist me.
    Are there any other steps I can take to get my domain off of Verizon's blacklist?
    Thanks in advance for any assistance.
    Delivered-To: [email protected]
    Received: by 10.220.234.129 with SMTP id kc1csp161549vcb;
    Fri, 8 Feb 2013 17:31:50 -0800 (PST)
    X-Received: by 10.42.94.8 with SMTP id z8mr12517254icm.36.1360373510097;
    Fri, 08 Feb 2013 17:31:50 -0800 (PST)
    Return-Path: <[email protected]>
    Received: from playstarbound.com (starbound.dedi.creeperhost.net. [216.231.140.35])
    by mx.google.com with ESMTP id fu9si13708199igc.70.2013.02.08.17.31.49;
    Fri, 08 Feb 2013 17:31:50 -0800 (PST)
    Received-SPF: pass (google.com: domain of [email protected] designates 216.231.140.35 as permitted sender) client-ip=216.231.140.35;
    Authentication-Results: mx.google.com;
    spf=pass (google.com: domain of [email protected] designates 216.231.140.35 as permitted sender) [email protected];
    dkim=pass [email protected]
    Received: by playstarbound.com (Postfix, from userid 33)
    id 174F240014A; Fri, 8 Feb 2013 19:35:40 -0600 (CST)
    DomainKey-Signature: a=rsa-sha1; s=mail; d=playstarbound.com; c=simple; q=dns;
    b=Mpoo3750PGl1bCNxw/27G4g5vsVK++iniNcn2CmNYHWkCm+Us+K7ugaz+zMz3z7ia
    BQcgrWrYV6BJj+5tzsfrcY9vLL3JWzLZdkpDXPMibEFFkzN2GRaAIzW5tkCmqGLcbJe
    OoUi8X5a0z3nqveURr1MH+YKThywm1ar7WFfrx0=
    DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=playstarbound.com;
    s=dkim; t=1360373740;
    bh=6LVOZF8CAy9b42ZQ0+PAelmrl+dShkkBDH3Dy9GZClY=;
    h=To:Subject:From:Date:Content-Type:MIME-Version:Message-Id;
    b=LNb8pGSePpTgI3HhnqBE7QPa+bowOIqPcpdz20Vu/rf3FnqcrGlOIKcbK4DVHNLka
    iVWzvgTJspQRFkHTlvgmCLYuQ7N7DWUOnVlAl+ad6MrPmZdGS9Kpff2h4tGYUWaxsj
    Rnrtyztc6PCi96An/92nTVZB6cm4wSAUYSjDN6TY=
    To: OmnipotentEntity <[email protected]>
    Subject: asdfasdf - New reply to watched thread
    X-PHP-Originating-Script: 0:Sendmail.php
    From: Starbound Forums <[email protected]>
    Date: Sat, 09 Feb 2013 01:35:40 +0000
    Content-Type: multipart/alternative;
    boundary="=_8841eb88f143167488a860539c24dc4a"
    MIME-Version: 1.0
    Message-Id: <[email protected]>
    --=_8841eb88f143167488a860539c24dc4a
    Content-Type: text/plain; charset=utf-8
    Content-Transfer-Encoding: quoted-printable
    OmnipotentEntity,=0A=0AAnonymous replied to a thread you are watching at=
    Official Starbound Forums!.=0A=0A=09"asdfasdf"=0A=0AThis is the message=
    they posted:=0A--------------------------------------------------------=
    --------------=0Aasdfasdfasdf=0A----------------------------------------=
    ------------------------------=0A=0ATo view this thread, click here:=0Ah=
    ttp://community.playstarbound.com/index.php?threads/asdfasdf.14881/#post=
    -563841=0A=0AYou will not receive any further emails about this thread u=
    ntil you have read the new messages.=0A=0A------------------------------=
    ----------------------------------------=0A=0AThis message was sent to y=
    ou because you opted to watch the thread "asdfasdf" at Official Starboun=
    d Forums! with email notification of new replies.=0A=0ATo stop receiving=
    email, please change your watching options for this thread.=0Ahttp://co=
    mmunity.playstarbound.com/index.php?threads/asdfasdf.14881/watch-confirm=
    =0A=0AYou may also review all your watched threads.=0Ahttp://community.p=
    laystarbound.com/index.php?watched/threads/all=0A=0Ahttp://community.pla=
    ystarbound.com/index.php
    --=_8841eb88f143167488a860539c24dc4a
    Content-Type: text/html; charset=utf-8
    Content-Transfer-Encoding: quoted-printable
    <html>=0A<head>=0A=09<meta charset=3D"UTF-8" />=0A=09<base href=3D"http:=
    //community.playstarbound.com/" />=0A=09<title>asdfasdf - New reply to w=
    atched thread</title>=0A</head>=0A<body text=3D"#141414" bgcolor=3D"#F0F=
    0F0" link=3D"#176093" alink=3D"#176093" vlink=3D"#176093" style=3D"paddi=
    ng: 10px">=0A=0A=09<table cellpadding=3D"0" cellspacing=3D"0" border=3D"=
    0" style=3D"=0A=09=09background-color: #F0F7FC;=0A=09=09border: 1px soli=
    d #A5CAE4;=0A=09=09border-radius: 5px">=0A=09<tr>=0A=09=09<td style=3D"=
    =0A=09=09=09background-color: #D7EDFC;=0A=09=09=09padding: 5px 10px;=0A=
    =09=09=09border-bottom: 1px solid #A5CAE4;=0A=09=09=09border-top-left-ra=
    dius: 4px;=0A=09=09=09border-top-right-radius: 4px;=0A=09=09=09font-fami=
    ly: 'Trebuchet MS', Helvetica, Arial, sans-serif;=0A=09=09=09font-size:=
    11px;=0A=09=09=09line-height: 1.231;">=0A=09=09=09<a href=3D"http://com=
    munity.playstarbound.com/index.php" style=3D"color: #176093; text-decora=
    tion:none">Official Starbound Forums!</a>=0A=09=09</td>=0A=09</tr>=0A=09=
    <tr>=0A=09=09<td style=3D"=0A=09=09=09background-color: #FCFCFF;=0A=09=
    =09=09padding: 1em;=0A=09=09=09color: #141414;=0A=09=09=09font-family: '=
    Trebuchet MS', Helvetica, Arial, sans-serif;=0A=09=09=09font-size: 13px;=
    =0A=09=09=09line-height: 1.231;">=0A=09=09=09<p style=3D"margin-top: 0">=
    OmnipotentEntity, <a href=3D"http://community.playstarbound.com/index.ph=
    p?members/anonymous.10296/" style=3D"color: #176093; text-decoration: no=
    ne">Anonymous</a> replied to a thread you are watching at <a href=3D"htt=
    p://community.playstarbound.com/index.php" style=3D"color: #176093; text=
    -decoration: none">Official Starbound Forums!</a>.</p>=0A=0A<h2 style=3D=
    "font-size: 18pt; font-weight: normal; margin: 10px 0"><a href=3D"http:/=
    /community.playstarbound.com/index.php?threads/asdfasdf.14881/#post-5638=
    41" style=3D"color: #141414; text-decoration: none">asdfasdf<br />=0A=09=
    <span style=3D"color: #176093; font-size: 10px">http://community.playsta=
    rbound.com/index.php?threads/asdfasdf.14881/#post-563841</span></a></h2>=
    =0A=0A<hr style=3D"height: 1px; margin: 10px 0; border: 0; color: #D7EDF=
    C; background-color: #D7EDFC" />=0A=0A<table cellpadding=3D"0" cellspaci=
    ng=3D"0" border=3D"0" width=3D"100%" style=3D"margin: 10px 0 20px">=0A<t=
    r valign=3D"top">=0A=09<td style=3D"font-size: 13px; line-height: 1.231;=
    padding-right: 20px">=0A=09=09<div style=3D"=0A=09=09=09background-colo=
    r: #D7EDFC;=0A=09=09=09border: 1px solid #D7EDFC;=0A=09=09=09border-radi=
    us: 5px">=0A=09=09=09<table cellpadding=3D"0" cellspacing=3D"0" border=
    =3D"0">=0A=09=09=09<tr>=0A=09=09=09=09<td style=3D"=0A=09=09=09=09=09bac=
    kground-color: #F0F7FC;=0A=09=09=09=09=09padding: 5px;=0A=09=09=09=09=09=
    border-radius: 4px">=0A=09=09=09=09=09<a href=3D"http://community.playst=
    arbound.com/index.php?members/anonymous.10296/" title=3D"Anonymous"=0A=
    =09=09=09=09=09=09><img src=3D"data/avatars/s/10/10296.jpg?1349154440" a=
    lt=3D"Anonymous" title=3D"Anonymous" style=3D"=0A=09=09=09=09=09=09=09wi=
    dth: 48px;=0A=09=09=09=09=09=09=09height: 48px;=0A=09=09=09=09=09=09=09b=
    ackground-color: #FCFCFF;=0A=09=09=09=09=09=09=09border: 1px solid #A5CA=
    E4;=0A=09=09=09=09=09=09=09padding: 2px;=0A=09=09=09=09=09=09=09border-r=
    adius: 4px"=0A=09=09=09=09=09=09/></a>=0A=09=09=09=09=09</td>=0A=09=09=
    =09=09</tr>=0A=09=09=09</table>=0A=09=09=09<span style=3D"=0A=09=09=09=
    =09padding: 3px 5px;=0A=09=09=09=09display: block"><!--Anonymous-->&nbsp=
    ;</span>=0A=09=09</div>=0A=09</td>=0A=09<td width=3D"90%" style=3D"font-=
    family: Georgia, 'Times New Roman', Times, serif; font-size: 11pt; line-=
    height: 1.4">=0A=09=09asdfasdfasdf=0A=09</td>=09=0A</tr>=0A</table>=0A=
    =0A<table cellpadding=3D"10" cellspacing=3D"0" border=3D"0" width=3D"100=
    %" style=3D"margin: 20px 0; background-color: #f0f7fc; border-top: 1px s=
    olid #d7edfc">=0A<tr>=0A=09<td>=0A=09=09<a href=3D"http://community.play=
    starbound.com/index.php?threads/asdfasdf.14881/unread" style=3D"=0A=09=
    =09=09display: block;=0A=09=09=09float: left;=0A=09=09=09padding: 5px 10=
    px;=0A=09=09=09background-color: #65a5d1;=0A=09=09=09border: none;=0A=09=
    =09=09border-radius: 3px;=0A=09=09=09font-family: 'Trebuchet MS', Helvet=
    ica, Arial, sans-serif;=0A=09=09=09font-size: 11px;=0A=09=09=09color: wh=
    ite;=0A=09=09=09text-decoration: none">View this Thread</a>=0A=09</td>=
    =0A=09<td align=3D"right">=0A=09=09<a href=3D"http://community.playstarb=
    ound.com/index.php?watched/threads" style=3D"=0A=09=09=09display: block;=
    =0A=09=09=09padding: 5px 0;=0A=09=09=09font-family: 'Trebuchet MS', Helv=
    etica, Arial, sans-serif;=0A=09=09=09font-size: 11px;=0A=09=09=09color:=
    #176093;=0A=09=09=09text-decoration: none">Unread Watched Threads</a>=
    =0A=09</td>=0A</tr>=0A</table>=0A=0A<p style=3D"font-size: 11px; color:=
    #969696">This message was sent to you because you opted to watch the th=
    read <a href=3D"http://community.playstarbound.com/index.php?threads/asd=
    fasdf.14881/" style=3D"color: #969696">asdfasdf</a> at <a href=3D"http:/=
    /community.playstarbound.com/index.php" style=3D"color: #969696">Officia=
    l Starbound Forums!</a> with email notification of new replies.</p>=0A=
    =0A<p style=3D"font-size: 11px; color: #969696">To stop receiving email,=
    please <a href=3D"http://community.playstarbound.com/index.php?threads/=
    asdfasdf.14881/watch-confirm" style=3D"color: #969696">change your watch=
    ing options for this thread</a>. You may also <a href=3D"http://communit=
    y.playstarbound.com/index.php?watched/threads/all" style=3D"color: #9696=
    96">review all your watched threads</a>.</p>=0A=09=09</td>=0A=09</tr>=0A=
    =09<tr>=0A=09=09<td style=3D"=0A=09=09=09background-color: #F0F7FC;=0A=
    =09=09=09padding: 5px 10px;=0A=09=09=09border-top: 1px solid #D7EDFC;=0A=
    =09=09=09border-bottom-left-radius: 4px;=0A=09=09=09border-bottom-right-=
    radius: 4px;=0A=09=09=09text-align: right;=0A=09=09=09font-family: 'Treb=
    uchet MS', Helvetica, Arial, sans-serif;=0A=09=09=09font-size: 11px;=0A=
    =09=09=09line-height: 1.231;">=0A=09=09=09<a href=3D"http://community.pl=
    aystarbound.com/index.php" style=3D"color: #176093; text-decoration: non=
    e">http://community.playstarbound.com/index.php</a>=0A=09=09</td>=0A=09<=
    /tr>=0A=09</table>=09=0A=0A</body>=0A</html>
    --=_8841eb88f143167488a860539c24dc4a--

    Oberus,
    We're very sorry for the troubles you're having getting your messages to your customers.  We're happy to help.  We will escalate this to the proper group for review.  Thanks for your patience as we investigate and escalate this issue.  ~Ian
    Ian_VZ
    Verizon Support
    Notice: Content posted by Verizon employees is meant to be informational and does not supersede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.

  • File as attachment in email form

    hi all,
    It would be a great help for me if any one can help me, how
    to send a file( minimum of 300k ) as attachment through a email
    form created in flex....
    please help me ...
    thanks

    hi all i have got a php code which sends attachments via
    mail..... Please help me how to send the file parameters to the php
    via http service send method.... i am placing the php and flex
    codes here please help Sad
    PHP code
    &lt;?php
    $to = '[email protected]';
    $from = $_POST[email];
    $name = $_POST[&quot;name&quot;];
    $subject = $_POST[&quot;title&quot;];
    $emailMessage = $_POST[&quot;message&quot;];
    $message = &quot;\nFrom: $name\nEmail Address:
    $frommail\nContact Number: $phone\n\n $emailMessage&quot;;
    $message = StripSlashes($message);
    $fileatt = $_FILES['fileatt']['tmp_name'];
    $fileatt_type = $_FILES['fileatt']['type'];
    $fileatt_name = $_FILES['fileatt']['name'];
    $headers = &quot;From: $frommail&quot;;
    if (is_uploaded_file($fileatt)) {
    $file = fopen($fileatt,'rb');
    $data = fread($file,filesize($fileatt));
    fclose($file);
    $semi_rand = md5(time());
    $mime_boundary =
    &quot;==Multipart_Boundary_x{$semi_rand}x&quot;;
    $headers .= &quot;MIME-Version: 1.0\n&quot; .
    &quot;Content-Type: multipart/mixed;\n&quot; .
    &quot;
    boundary=\&quot;{$mime_boundary}\&quot;&quot;;
    $message = &quot;This is a multi-part message in MIME
    format.\n\n&quot; .
    &quot;--{$mime_boundary}\n&quot; .
    &quot;Content-Type: text/html;
    charset=\&quot;iso-8859-1\&quot;\n&quot; .
    &quot;Content-Transfer-Encoding: 7bit\n\n&quot; .
    $message . &quot;\n\n&quot;;
    $data = chunk_split(base64_encode($data));
    $message .= &quot;--{$mime_boundary}\n&quot; .
    &quot;Content-Type: {$fileatt_type};\n&quot; .
    &quot;
    name=\&quot;{$fileatt_name}\&quot;\n&quot; .
    &quot;Content-Transfer-Encoding: base64\n\n&quot; .
    $data . &quot;\n\n&quot; .
    &quot;--{$mime_boundary}--\n&quot;;
    }else echo &quot;File error! &quot;;
    mail($to, $subject, $message,$headers);
    ?&gt;
    Flex code...
    &lt;?xml version=&quot;1.0&quot;
    encoding=&quot;utf-8&quot;?&gt;
    &lt;mx:Application xmlns:mx=&quot;
    http://www.adobe.com/2006/mxml&quot;
    viewSourceURL=&quot;srcview/index.html&quot;
    creationComplete=&quot;init();&quot;&gt;
    &lt;mx:HTTPService id=&quot;httpService&quot;
    url=&quot;
    http://jibysubhash.x10hosting.com/jibysk/sendmail.php&quot;
    method=&quot;POST&quot;&gt;
    &lt;mx:request &gt;
    &lt;name&gt;{txtname.text}&lt;/name&gt;
    &lt;email&gt;{txtemail.text}&lt;/email&gt;
    &lt;phone&gt;{txtphmo.text}&lt;/phone&gt;
    &lt;title&gt;{txtpost.text}&lt;/title&gt;
    &lt;message&gt;{txtcover.text}&lt;/message&gt;
    &lt;/mx:request&gt;
    &lt;/mx:HTTPService&gt;
    &lt;mx:Script&gt;
    &lt;![CDATA[
    private var file:FileReference = new FileReference();
    private function init():void
    file.addEventListener(Event.SELECT, selectHandler);
    private function selectHandler(event:Event):void
    private function browse(event:MouseEvent):void
    var filefilter:FileFilter = new FileFilter(&quot;Resume
    Files&quot;,
    &quot;*.zip;*.doc;*.pdf;*.txt;*.rar;*.docx&quot;);
    file.browse([filefilter]);
    ]]&gt;
    &lt;/mx:Script&gt;
    &lt;mx:Panel id=&quot;panel1&quot;
    width=&quot;691&quot; height=&quot;665&quot;
    layout=&quot;absolute&quot; title=&quot;Apply for the
    job&quot; &gt;
    &lt;mx:Form x=&quot;0&quot;
    y=&quot;0&quot;&gt;
    &lt;mx:FormItem fontWeight=&quot;bold&quot;
    color=&quot;#000000&quot; id=&quot;nam&quot;
    label=&quot;Name : &quot;&gt;
    &lt;mx:TextInput width=&quot;354&quot;
    height=&quot;20&quot; id=&quot;txtname&quot;
    /&gt;
    &lt;/mx:FormItem&gt;
    &lt;mx:FormItem fontWeight=&quot;bold&quot;
    color=&quot;#000000&quot; id=&quot;mail&quot;
    label=&quot;Email : &quot;&gt;
    &lt;mx:TextInput width=&quot;354&quot;
    height=&quot;20&quot; id=&quot;txtemail&quot;
    /&gt;
    &lt;/mx:FormItem&gt;
    &lt;mx:FormItem fontWeight=&quot;bold&quot;
    color=&quot;#000000&quot; id=&quot;phone&quot;
    label=&quot;Phone/mobile : &quot;&gt;
    &lt;mx:TextInput width=&quot;354&quot;
    height=&quot;20&quot;
    id=&quot;txtphmo&quot;/&gt;
    &lt;/mx:FormItem&gt;
    &lt;mx:FormItem fontWeight=&quot;bold&quot;
    color=&quot;#000000&quot; id=&quot;post&quot;
    label=&quot;Post applied : &quot;&gt;
    &lt;mx:TextInput width=&quot;477&quot;
    height=&quot;20&quot; enabled=&quot;false&quot;
    editable=&quot;false&quot; id=&quot;txtpost&quot;
    text=&quot;test mail&quot;/&gt;
    &lt;/mx:FormItem&gt;
    &lt;mx:FormItem fontWeight=&quot;bold&quot;
    color=&quot;#000000&quot; id=&quot;upload&quot;
    label=&quot;Upload resume : &quot;&gt;
    &lt;mx:Button label=&quot;Browse&quot;
    id=&quot;bro&quot;
    click=&quot;browse(event);&quot;/&gt;
    &lt;/mx:FormItem&gt;
    &lt;mx:FormItem fontWeight=&quot;bold&quot;
    color=&quot;#000000&quot; id=&quot;cover&quot;
    label=&quot;Cover Letter : &quot;&gt;
    &lt;mx:TextArea width=&quot;507&quot;
    height=&quot;350&quot;
    id=&quot;txtcover&quot;/&gt;
    &lt;/mx:FormItem&gt;
    &lt;mx:FormItem label=&quot; &quot; &gt;
    &lt;mx:Button label=&quot;Send&quot;
    id=&quot;applynow&quot;
    click=&quot;httpService.send();&quot; /&gt;
    &lt;/mx:FormItem&gt;
    &lt;/mx:Form&gt;
    &lt;mx:Label x=&quot;210&quot;
    y=&quot;125&quot; text=&quot; &quot;
    maxWidth=&quot;300&quot;
    id=&quot;statuss&quot;/&gt;
    &lt;/mx:Panel&gt;
    &lt;/mx:Application&gt;

  • Send mail in as3

    acually am tring to send mail but am new in as3 as well , i could make it using as2 but unfortunately i build my project by as3 , they telling me tht i need PHP file to connect with , is there any tutarial or help on it ?
    i approciate ur help
    thnx

    i almost reach but the code still not work
    there is the code
    import flash.net.URLRequest;
    stop();
    contact_name.text = contact_email.text = contact_subject.text =
    contact_message.text = message_status.text = "";
    send_button.addEventListener(MouseEvent.CLICK, submit);
    reset_button.addEventListener(MouseEvent.CLICK, reset);
    var timer:Timer;
    var var_load:URLLoader = new URLLoader;
    var URL_request:URLRequest = new URLRequest("sendMail.php");
    URL_request.method = URLRequestMethod.POST;
    function submit(e:MouseEvent):void {
        if ( contact_name.text == "" || contact_email.text == "" ||
           contact_subject.text == "" || contact_message.text == "" ) {
            message_status.text = "Please fill up all text fields.";
        } else if ( !validate_email(contact_email.text) ) {
            message_status.text = "Please enter the valid email address.";
        } else {
            message_status.text = "sending...";
            var email_data:String = "name=" + contact_name.text
                     + "&email=" + contact_email.text
                     + "&subject=" + contact_subject.text
                     + "&message=" + contact_message.text;
            var URL_vars:URLVariables = new URLVariables(email_data);
            URL_vars.dataFormat = URLLoaderDataFormat.TEXT;
            URL_request.data = URL_vars;
            var_load.load( URL_request );
            var_load.addEventListener(Event.COMPLETE, receive_response );
    function reset(e:MouseEvent):void {
        contact_name.text = contact_email.text = contact_subject.text =
           contact_message.text = message_status.text = "";
    function validate_email(s:String):Boolean {
        var p:RegExp = /(\w|[_.\-])+@((\w|-)+\.)+\w{2,4}+/;
        var r:Object = p.exec(s);
        if ( r == null ) {
            return false;
        return true;
    function receive_response(e:Event):void {
        var loader:URLLoader = URLLoader(e.target);
        var email_status = new URLVariables(loader.data).success;
        if ( email_status == "yes" ) {
            message_status.text = "Success! Your message was sent.";
            timer = new Timer(500);
            timer.addEventListener(TimerEvent.TIMER, on_timer);
            timer.start();
        } else {
            message_status.text = "Failed! Your message can not be sent.";
    function on_timer(te:TimerEvent):void {
        if ( timer.currentCount >= 10 ) {
            contact_name.text = contact_email.text = contact_subject.text =
                  contact_message.text = message_status.text = "";
            timer.removeEventListener(TimerEvent.TIMER, on_timer);

  • Missing buttons on file panel

    Hi There,
    I have just switched from MX to 8 and am having trouble
    puting files to the server. When I go to Window, File, the file
    panel comes up with out the buttons to up load the files. When I
    click on the box to expand file, the butons show up but are not
    working. I've been through the preference box, and can't find
    anything to adjust the preferences. Any suggestions?

    Thanks for the information. I have been through the trouble
    shooting papers...several times. There is a lot of information with
    a lot of things I don't understand. Is there a troubleshooting
    tree? That way I don't have to sift through information that does
    not apply. (It is overwhelming and confusing)
    I did not mention that 1.) I switched from a PC to a Mac the
    same time I upgraded to DW8. And 2.) I downloaded the trial version
    of DW8, so I could use it until I got the DW8 cd. I am pretty sure
    I did not have this problem with the trial version.
    The following is a copy of my current log:
    < 220---------- Welcome to Pure-FTPd [TLS] ----------
    < 220-Local time is now 11:32. Server port: 21.
    < 220-This is a private system - No anonymous login
    < 220-IPv6 connections are also welcome on this server.
    < 220 You will be disconnected after 15 minutes of
    inactivity.
    > USER hus185K
    < 331 User hus185K OK. Password required
    > PASS
    < 230-User hus185K has group access to: webpage_
    < 230 OK. Current restricted directory is /
    > PWD
    < 257 "/" is your current location
    > PWD
    < 257 "/" is your current location
    > CWD /
    < 250 OK. Current directory is /
    > MKD MM_CASETEST4291
    < 257 "MM_CASETEST4291" : The directory was successfully
    created
    > CWD /
    < 250 OK. Current directory is /
    > RMD mm_casetest4291
    < 250 The directory was successfully removed
    > CWD /public_html
    < 250 OK. Current directory is /public_html
    > PWD
    < 257 "/public_html" is your current location
    > CWD /
    < 250 OK. Current directory is /
    > PWD
    < 257 "/" is your current location
    > CWD /public_html
    < 250 OK. Current directory is /public_html
    > MKD xyiznwsk
    < 257 "xyiznwsk" : The directory was successfully created
    > CWD /public_html
    < 250 OK. Current directory is /public_html
    > PWD
    < 257 "/public_html" is your current location
    > CWD /public_html
    < 250 OK. Current directory is /public_html
    > PASV
    < 227 Entering Passive Mode (216,183,98,26,208,67)
    > TYPE A
    < 200 TYPE is now ASCII
    > LIST
    < 150 Accepted data connection
    < -rw-r--r-- 1 hus185K webpage_ 14261 Jul 25 15:43
    TSHIRTS.htm
    < -rw-r--r-- 1 hus185K webpage_ 2725 Jul 25 15:43
    contactus.htm
    < drwxr-xr-x 3 hus185K webpage_ 102 Jul 25 15:43 css
    < -rw-r--r-- 1 hus185K webpage_ 4235 Jul 25 15:43
    goal.htm
    < -rw-r--r-- 1 hus185K webpage_ 4668 Jul 25 15:43
    goals.htm
    < drwxr-xr-x 37 hus185K webpage_ 1258 Jul 25 15:43 images
    < -rw-r--r-- 1 hus185K webpage_ 3362 Aug 5 01:01
    index.htm
    < -rw-r--r-- 1 hus185K webpage_ 1885 Jul 25 15:43
    inner_template.htm
    < -rw-r--r-- 1 hus185K webpage_ 12579 Jul 25 15:43
    learn.htm
    < -rw-r--r-- 1 hus185K webpage_ 3987 Jul 25 15:43
    links.htm
    < -rw-r--r-- 1 hus185K webpage_ 4505 Oct 10 16:01
    sendmail.php
    < -rw-r--r-- 1 hus185K webpage_ 3677 Jul 25 15:43 us.htm
    < drwxr-xr-x 2 hus185K webpage_ 68 Dec 4 11:32 xyiznwsk
    < 226-Options: -l
    < 226 13 matches total
    > CWD /
    < 250 OK. Current directory is /
    > PWD
    < 257 "/" is your current location
    > CWD /public_html
    < 250 OK. Current directory is /public_html
    > RMD xyiznwsk
    < 250 The directory was successfully removed
    > CWD /public_html
    < 250 OK. Current directory is /public_html
    > PWD
    < 257 "/public_html" is your current location

  • Feedback form script in RH8

    My form (see below) triggers a PHP script (see below) which is supposed to send the form data to my email address. It works perfectly in a regular web page, but when I've integrated into my WebHelp project the form fails to send anything and show a series of PHP errors (see below). I'm no PHP expert so I'd be grateful if anyone could advise me or suggest an alternative method of producing a Feedback Form in a WebHelp page.
    FORM:
    <form action="sendmail.php" method="post" name="Feedback" id="Feedback">
      <p><strong style="font-weight: bold;">Name</strong>:<br />
        <input name="name" type="text" id="Name" class="fields" size="30" />
      </p>
      <p><strong style="font-weight: bold;">Email</strong>:<br />
        <input name="email" type="text" id="Email" class="fields" size="30" />
      </p>
      <p><strong style="font-weight: bold;">Phone</strong>:<br />
        <input name="phone" type="text" id="Phone" class="fields" size="30" />
      </p>
      <p><strong style="font-weight: bold;">Firm</strong>:<br />
        <input name="firm" type="text" id="Firm" class="fields" size="30" />
      </p>
      <p><strong style="font-weight: bold;">Comments</strong>:<br />
        <textarea name="message" cols="60" rows="5"></textarea>
      </p>
      <p>
        <input name="Clear" type="reset" class="button" value="Clear" />
        <input
      name="Send" type="submit" class="button" id="Send" value="Send" />
      </p>
    </form>
    SCRIPT:
    <?
    $name = $_REQUEST['name'] ;
    $email = $_REQUEST['email'] ;
    $phone = $_REQUEST['phone'] ;
    $firm = $_REQUEST['firm'] ;
    $message = $_REQUEST['message'] ;
    $http_referrer = getenv( "HTTP_REFERER" );
    $messagelayout =
    "This message was sent from:\n" .
    "$http_referrer\n" .
    "\n" .
    "\n" .
    "SENDER------------------------------------------------------\n\n" .
    "Name: $name\n" .
    "Email: $email\n" .
    "Phone: $phone\n" .
    "Firm: $firm\n" .
    "\n" .
    "MESSAGE-----------------------------------------------------\n\n" .
    $message .
    "\n\n------------------------------------------------------------\n" ;
    if (!isset($_REQUEST['email'])) {
    header( "Location: feedback.htm" ) ;
    elseif (empty($name) || empty($email) || empty($phone) || empty($firm) ||empty($message)) {
    header ( "Location: error.htm" ) ;
    else {
    mail( [email protected], "Documentation Feedback", $messagelayout, "From: $name <$email>" ) ;
    header( "Location: thanks.htm" ) ;
    ?>
    ERRORS:
    Warning: Undefined variable: _REQUEST in C:\Inetpub\wwwroot\Documentation (ILE)\WebHelp\Working\sendmail.php on line 2
    Warning: Undefined variable: _REQUEST in C:\Inetpub\wwwroot\Documentation (ILE)\WebHelp\Working\sendmail.php on line 3
    Warning: Undefined variable: _REQUEST in C:\Inetpub\wwwroot\Documentation (ILE)\WebHelp\Working\sendmail.php on line 4
    Warning: Undefined variable: _REQUEST in C:\Inetpub\wwwroot\Documentation (ILE)\WebHelp\Working\sendmail.php on line 5
    Warning: Undefined variable: _REQUEST in C:\Inetpub\wwwroot\Documentation (ILE)\WebHelp\Working\sendmail.php on line 6
    Warning: Cannot add header information - headers already sent by (output started at C:\Inetpub\wwwroot\Documentation (ILE)\WebHelp\Working\sendmail.php:2) in C:\Inetpub\wwwroot\Documentation (ILE)\WebHelp\Working\sendmail.php on line 26

    Hi Guys, just got round to looking at this again.
    The form now sends the email, but my "thank you" page isn't displayed. Also, if the required fields are not completed, my "error" page isn't displayed either.
    I'm testing this form after it's been published to our web server, which is on the same server as our intranet and the forms on the intranet work fine using the same script. I'm convinced that RoboHelp is doing something weird with the script.
    Any further help would be much appreciated.
    Thanks
    Jonathan

  • Submit button in form will not send info to email

    I had a friend build a website in Dreamweaver CS5.5. Now that it is live, I can't get the "send" button on the form to send the information to my email.There is a sendmail.php set up. Any help would be much appreciated...Thank you.
    The page is http://www.shieldscontracting.com/contact.html
    The html is
        <form id="ContactForm" action="sendmail.php" method="post" enctype="multipart/form-data" style="margin-left:350px; margin-top:-20px;">
          <div class="rowi">
                          <p>Name:<br />
                                    <input type="text" name="name" class="input required" />
                          </p>
    </div>
                                <div class="rowi">
                                    E-mail:<br />
                                    <input type="text" name="email" class="input required email" />
                                </div>
                                <div class="rowi">
                                    Phone:<br />
                                    <input type="text" name="phone" class="input required" />
                                </div>
                    <div class="rowi">Project Details:<br />
                                    <textarea cols="50" name="message" rows="10"></textarea><br />
                      <a href="thankyou.html" class="link" onclick="sendmail.php"><span>Send</span></a></div>
        </form>
    The sendmail.php is
    <?php
    $name = $_REQUEST['name'];
    $email = $_REQUEST['email'];
    $phone = $_REQUEST['phone'];
    $message = $_REQUEST['message'];
      mail( "[email protected]", "Website Contact",
      "Contact From Website
      Name: $name
      Email: $email
      Phone: $phone
      Message: $message", "From: $email" );
       header( "Location: thankyou.html" );
    ?>

    First, the page is down, I just get a generic page.  Second you may need to reach out to your web host.  I see that you are using hosting from Intuit.  Being that they have a proprietary setup, some custom scripts may not work.
    Third, once that is confirmed, if you are making this script I would recommend changing the $_REQUEST text in the sendmail to $_POST.  $_REQUEST means that your form can get spammed because they can pass the data via GET or POST.  The $_POST is just the first step to ensure the data came from your form.

  • Email hacked?

    i got this from my log, which makes me think my mail has been
    hacked. suggestions for solutions please . . . thanks.
    Note: If this is the first time you recieved this mail, it
    contains the history
    for the entire month so far.
    Below are the recently upload scripts that contain code to
    send email. You may
    wish to inspect them to ensure they are not sending out SPAM.
    /home/wwwcoun/public_html/includes/common/lib/email/KT_Email.class.php:334:
    $arr['From'] = $this->getFrom();
    /home/wwwcoun/public_html/includes/common/lib/email/KT_Email.class.php:335:
    [cor] se pare ca unele servere de mail pun de doua ori adresa
    to daca o setam si
    in header si in to de la mail()
    /home/wwwcoun/public_html/includes/common/lib/email/KT_Email.class.php:336:
    //$arr['To'] = $this->getTo();
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/sendmail.php:31:
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/sendmail.php:32:
    var $sendmail_path = '/usr/sbin/sendmail';
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/sendmail.php:33:
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/sendmail.php:46:
    * sendmail_path The location of the sendmail binary on the
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/sendmail.php:47:
    * filesystem. Defaults to '/usr/sbin/sendmail'.
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/sendmail.php:48:
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail.php:62:
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail.php:63:
    Implements Mail::send() function using php's built-in mail()
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail.php:64:
    command.
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail.php:95:
    get the Subject out of the headers array so that we can
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail.php:96:
    pass it as a seperate argument to mail().
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail.php:97:
    $subject = '';
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail.php:105:
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail.php:106:
    return mail($recipients, $subject, $body, $text_headers);
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail.php:107:
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mime.php:603:
    * Get the text version of the headers
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mime.php:604:
    * (usefull if you want to use the PHP mail() function)
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mime.php:605:
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:28:
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:29:
    * Any arguments to pass to the mail() function.
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:30:
    * @var string
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:39:
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:40:
    * @param array $params Extra arguments for the mail()
    function.
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:41:
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:52:
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:53:
    /* Because the mail() function may pass headers as command
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:54:
    * line arguments, we can't guarantee the use of the standard
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:60:
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:61:
    * Implements Mail_mail::send() function using php's built-in
    mail()
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:62:
    * command.
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:93:
    // Get the Subject out of the headers array so that we can
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:94:
    // pass it as a seperate argument to mail().
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:95:
    $subject = '';
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:108:
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:109:
    * We only use mail()'s optional fifth parameter if the
    additional
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:110:
    * parameters have been provided and we're not running in safe
    mode.
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:114:
    if (empty($this->_params) || ini_get('safe_mode')) {
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:115:
    $result = mail($recipients, $subject, $body, $text_headers);
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:116:
    } else {
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:116:
    } else {
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:117:
    $result = mail($recipients, $subject, $body, $text_headers,
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:118:
    $this->_params);
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:122:
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:123:
    * If the mail() function returned failure, we need to create
    a
    /home/wwwcoun/public_html/includes/common/lib/email/Pear/Mail/mail.php:124:
    * PEAR_Error object and return it instead of the boolean
    result.

    Looks legit.  Don't click on anything but call them.
    This forum is for PEER to PEER support.  You need to contact them, in this phone call is best.

Maybe you are looking for

  • 'ORA-01722: Invalid Number' error while Running a Query

    Hi, I'm trying to run a query built on a DSO. The DSO has a field 'Start Date'. This Start Date InfoObject has a reference Char as 0DATE. This Start Field has blank values due to which I'm getting the ORA-01722 error. I came across many threads with

  • ADF Faces showDetailItem seems to "load" child elements twice on tab select

    Problem Summary: Child elements of showDetailItem are being loaded/executed twice. The parent of the showDetailItem is a showOneTab, and the child of showDetailItem is an af:objectImage, which calls a servlet I have written that outputs an image. The

  • Calculate with timestamps in string format

    Hi, i have the following string as valid timestamp: "22.06.2005 17:47:55,16" Is there any statement/expression in TestStand available to transform this string into a valid number of seconds, because i want to calculate the difference between too valu

  • RE: MacBook Pro 2.17.

    Installed a copy of Internet Cleanup 5 Mac this AM. It asked for me to log out all users. Could not find that screen so I restarted the MBP. Now, it only gives me a circle with a diagonal line thru.Now What?

  • Sending a photo book abroad...?

    Hi there, I have kind of the same problem i am in AUSTRALIA and i would like to send a photo book that i created with iPhoto to my girlfriend who now lives in CANADA... How can i do it??? cheers