PHP email form not emailing - Macromedia Dreamweaver

This is a discussion on PHP email form not emailing - Macromedia Dreamweaver ; I created a form and am using php in order for it to be emailed back to me. It seems to be working besides the fact that I am not receiving the email. I do get directed to the thank ...

+ Reply to Thread
Results 1 to 5 of 5

PHP email form not emailing

  1. Default PHP email form not emailing

    I created a form and am using php in order for it to be emailed back to me. It
    seems to be working besides the fact that I am not receiving the email. I do
    get directed to the thank you page but that is it. I would appreciate any help
    that can be offered! See form and php code below (I realize the email address
    is not valid as I changed it for this post) I apologize if this is sloppy as I
    am a beginner).



    FORM CODE

    <form action="sendresults.php" method="POST">
    <table width="99%" border="1" bordercolor="#FFFFFF">
    <tr>
    <td width="14%"><font size="2" face="Verdana, Arial, Helvetica,
    sans-serif">Online
    Class:</font></td>
    <td width="2%">&nbsp;</td>
    <td width="84%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="text" name="Online Class" size="100" maxlength="50">
    </font></td>
    </tr>
    <tr>
    <td><font size="2" face="Verdana, Arial, Helvetica,
    sans-serif">Name:</font></td>
    <td>&nbsp;</td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="text" name="Name" size="100" maxlength="50">
    </font></td>
    </tr>
    <tr>
    <td><font size="2" face="Verdana, Arial, Helvetica,
    sans-serif">Email:</font></td>
    <td>&nbsp;</td>
    <td><input type="text" name="Email" size="100" maxlength="50"></td>
    </tr>
    <tr>
    <td><font size="2" face="Verdana, Arial, Helvetica,
    sans-serif">Title:</font></td>
    <td><div align="left"></div></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="text" name="Job Title" size="100" maxlength="50">
    </font></td>
    </tr>
    <tr>
    <td><font size="2" face="Verdana, Arial, Helvetica,
    sans-serif">Instructor:</font></td>
    <td>&nbsp;</td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="text" name="Instructor" size="100" maxlength="50">
    </font></td>
    </tr>
    <tr>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Date of
    Class:</font></td>
    <td>&nbsp;</td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="text" name="Date" size="100" maxlength="50">
    </font></td>
    </tr>
    </table>
    <hr>
    <p align="center"><font size="2" face="Verdana, Arial, Helvetica,
    sans-serif"><strong>Please
    respond to the following questions using the scale:<br>
    5 (Strongly Agree) - 4 (Agree) - 3 (Neutral) - 2 (Disagree) - 1 (Strongly
    Disagree)</strong></font></p>
    <p align="left"><font size="2" face="Verdana, Arial, Helvetica,
    sans-serif">Your
    feedback is essential in our continuing efforts to provide you with the
    training
    you need to efficiently perform your job or to backup your co-workers. Please
    help us by including comments about what you did and did not like and what
    you would like to see added to the course and/or course materials. </font></p>
    <hr>
    <div align="left">
    <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>COURSE
    CONTENT</strong></font></p>
    <table width="95%" border="1" bordercolor="#FFFFFF">
    <tr>
    <td width="71%" bordercolor="#FFFFFF"><font size="2" face="Verdana, Arial,
    Helvetica, sans-serif">Were
    the course objectives clearly explained prior to the start of
    class?</font></td>
    <td width="28%"> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="radio" value="5" name="radio1">
    5
    <input type="radio" value="4" name="radio1">
    4
    <input type="radio" value="3" name="radio1">
    3
    <input type="radio" value="2" name="radio1">
    2
    <input type="radio" value="1" name="radio1">
    1 </font></td>
    </tr>
    <tr>
    <td bordercolor="#FFFFFF"><font size="2" face="Verdana, Arial, Helvetica,
    sans-serif">In
    your mind, were these objectives met?</font></td>
    <td> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="radio" value="5" name="radio2">
    5
    <input type="radio" value="4" name="radio2">
    4
    <input type="radio" value="3" name="radio2">
    3
    <input type="radio" value="2" name="radio2">
    2
    <input type="radio" value="1" name="radio2">
    1 </font></font></td>
    </tr>
    <tr>
    <td height="20" bordercolor="#FFFFFF"><font size="2" face="Verdana, Arial,
    Helvetica, sans-serif">Were
    prerequistites (if applicable) appropriate and/or desirable?</font></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="radio" value="5" name="radio3">
    5
    <input type="radio" value="4" name="radio3">
    4
    <input type="radio" value="3" name="radio3">
    3
    <input type="radio" value="2" name="radio3">
    2
    <input type="radio" value="1" name="radio3">
    1 </font></td>
    </tr>
    <tr>
    <td bordercolor="#FFFFFF"><font size="2" face="Verdana, Arial, Helvetica,
    sans-serif">Do
    you feel this course increased your understanding of the software and
    your ability to resolve problems?</font></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="radio" value="5" name="radio4">
    5
    <input type="radio" value="4" name="radio4">
    4
    <input type="radio" value="3" name="radio4">
    3
    <input type="radio" value="2" name="radio4">
    2
    <input type="radio" value="1" name="radio4">
    1 </font></td>
    </tr>
    <tr>
    <td bordercolor="#FFFFFF"><font size="2" face="Verdana, Arial, Helvetica,
    sans-serif">Was
    the time allotted for instruction, discussion and exercises
    appropriate?</font></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="radio" value="5" name="radio5">
    5
    <input type="radio" value="4" name="radio5">
    4
    <input type="radio" value="3" name="radio5">
    3
    <input type="radio" value="2" name="radio5">
    2
    <input type="radio" value="1" name="radio5">
    1</font></td>
    </tr>
    </table>
    <p><font size="2" face="Verdana, Arial, Helvetica,
    sans-serif"><strong>Comments
    on Course Content:</strong><br>
    <textarea name="Course Content Comments" cols="35" rows="4"
    wrap="virtual"></textarea>
    </font></p>
    <p><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>COURSE
    MATERIALS</strong></font></p>
    <font face="Verdana, Arial, Helvetica, sans-serif">
    <table width="96%" border="1" bordercolor="#FFFFFF">
    <tr>
    <td width="71%"><font size="2" face="Verdana, Arial, Helvetica,
    sans-serif">Did
    you find the course materials accurate?</font></td>
    <td width="29%"> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="radio" value="5" name="radio6">
    5
    <input type="radio" value="4" name="radio6">
    4
    <input type="radio" value="3" name="radio6">
    3
    <input type="radio" value="2" name="radio6">
    2
    <input type="radio" value="1" name="radio6">
    1 </font></td>
    </tr>
    <tr>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Were the
    course materials relevant?</font></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="radio" value="5" name="radio7">
    5
    <input type="radio" value="4" name="radio7">
    4
    <input type="radio" value="3" name="radio7">
    3
    <input type="radio" value="2" name="radio7">
    2
    <input type="radio" value="1" name="radio7">
    1</font></td>
    </tr>
    <tr>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Did the
    materials contribute to your learning experience?</font></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="radio" value="5" name="radio8">
    5
    <input type="radio" value="4" name="radio8">
    4
    <input type="radio" value="3" name="radio8">
    3
    <input type="radio" value="2" name="radio8">
    2
    <input type="radio" value="1" name="radio8">
    1</font></td>
    </tr>
    <tr>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Were the
    course materials adequate and satisfactory?</font></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="radio" value="5" name="radio9">
    5
    <input type="radio" value="4" name="radio9">
    4
    <input type="radio" value="3" name="radio9">
    3
    <input type="radio" value="2" name="radio9">
    2
    <input type="radio" value="1" name="radio9">
    1</font></td>
    </tr>
    <tr>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Were the
    facilities and/or technological equipment appropriate?</font></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="radio" value="5" name="radio10">
    5
    <input type="radio" value="4" name="radio10">
    4
    <input type="radio" value="3" name="radio10">
    3
    <input type="radio" value="2" name="radio10">
    2
    <input type="radio" value="1" name="radio10">
    1</font></td>
    </tr>
    <tr>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Were audio
    and video materials effective?</font></td>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="radio" value="5" name="radio11">
    5
    <input type="radio" value="4" name="radio11">
    4
    <input type="radio" value="3" name="radio11">
    3
    <input type="radio" value="2" name="radio11">
    2
    <input type="radio" value="1" name="radio11">
    1</font></td>
    </tr>
    </table>
    </font>
    <p><font size="2" face="Verdana, Arial, Helvetica,
    sans-serif"><strong>Comments
    on Materials:</strong><br>
    <textarea name="Material Comments" cols="35" rows="4"
    wrap="virtual"></textarea>
    </font></p>
    <p><font size="2" face="Verdana, Arial, Helvetica,
    sans-serif"><strong>INSTRUCTOR</strong></font></p>
    <table width="97%" border="1" bordercolor="#FFFFFF">
    <tr>
    <td width="70%"><div align="left"><font size="2" face="Verdana, Arial,
    Helvetica, sans-serif">Did
    this instructor demonstrate an appropriate knowledge of the
    subject?</font></div></td>
    <td width="30%"> <font size="2" face="Verdana, Arial, Helvetica, sans-serif">
    <input type="radio" value="5" name="radio12">
    5
    <input type="radio" value="4" name="radio12">
    4
    <input type="radio" value="3" name="radio12">
    3
    <input type="radio" value="2" name="radio12">
    2
    <input type="radio" value="1" name="radio12">
    1 </font></td>
    </tr>
    <tr>
    <td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Were concepts
    and instructions explained clearly?</font></td>
    <td><font size=

  2. Default Re: PHP email form not emailing

    Check out http://phpmailer.codeworxtech.com/

    I think they make it much much easier. All you do is add a couple of file to your PHP include folder, and you're ready to do almost anything.




  3. Default Re: PHP email form not emailing

    As jsteinmann said, there are quite a few Dreamweaver extensions that do that
    for you. No need to do any heavy lifting. IMHO, you are trying to do too much
    on your own, and not let Dreamweaver do its magic.

    And also, IMHO, I don't do enough heavy lifting to do what Dreamweaver can't.
    Touche!!




  4. Default Re: PHP email form not emailing

    I looked at all the available DW extensions, and would up programming it
    myself. The mail feature in PHP is actually pretty easy to understand. The
    "mail($to, $subject, $body[, $headers])" protocol is right. I can't really
    understand what you did wrong, because you have way too much formatting for a
    PHP generated e-mail. Just MHO. KISS is always my motto.


  5. Default Re: PHP email form not emailing

    The thing I mentioned isn't an extension, but it makes your life really easy if
    you want to use smtp, attachments, it automatically can send both html and
    plain text emails... delivery the method needed for that user, etc.etc. I
    can't think of an easier method then that.


+ Reply to Thread