close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

No Sender - See code

Thread began 6/19/2010 9:08 am by digital_7340590 | Last modified 6/21/2010 7:41 am by Jason Byrnes | 705 views | 1 replies |

digital_7340590

No Sender - See code

What I'm I doing wrong?
The thank you page shows and receive the response but... No sender is showing in the email. Code below.
THANKS FOR YOUR HELP! :-)


<?php require_once('WA_Globals/WA_Globals.php');?>
<?php require_once("WA_ValidationToolkit/WAVT_Scripts_PHP.php"); ?>
<?php require_once("WA_ValidationToolkit/WAVT_ValidatedForm_PHP.php"); ?>
<?php require_once("WA_Universal_Email/mail_PHP.php"); ?>
<?php require_once("WA_Universal_Email/MailFormatting_PHP.php"); ?>
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$WAFV_Redirect = "";
$_SESSION['WAVT_contact_Errors'] = "";
if ($WAFV_Redirect == "") {
$WAFV_Redirect = $_SERVER["PHP_SELF"];

}
}
?>
<?php
if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST))) {
//WA Universal Email object="mail"
//Send Loop Once Per Entry
$RecipientEmail = "".($WAGLOBAL_Contact_Email_To) ."";include("WA_Universal_Email/WAUE_contact_1.php");

//Send Mail All Entries
if ("index.php"!="") {
header("Location: thankyou.php");
}
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<style type="text/css">
.contact_text2 { font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
text-align: left;
color: #333;
padding-top: 5px;
line-height: 18px;
list-style-type: disc;
}
</style>
<link href="file:///WORKING/WORKING FILES/APC WEBSITE/APC.css" rel="stylesheet" type="text/css" />
<script src="file:///WORKING/WORKING FILES/APC WEBSITE/Scripts/swfobject_modified.js" type="text/javascript"></script>
</head>

<body>

<div id="form2">
<div>
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="98">
<param name="movie" value="file:///WORKING/WORKING FILES/APC WEBSITE/swf/head_form.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="9.0.45.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="file:///WORKING/WORKING FILES/APC WEBSITE/Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="file:///WORKING/WORKING FILES/APC WEBSITE/swf/head_form.swf" width="800" height="98">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="9.0.45.0" />
<param name="expressinstall" value="file:///WORKING/WORKING FILES/APC WEBSITE/Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>

<form id="form1" name="form1" method="post" action="">
<br />
<br />
<table width="500" border="0" align="center" "bgcolor="#FFFFFF" class="contact_text2">
<tr>
<td height="89" colspan="4" align="center" "><p style="text-align: center"><span style="font-size: 14px; color: #F00; font-weight: bold; font-family: Verdana, Geneva, sans-serif;">MEETING REQUEST FORM</span> </p>
<p style="text-align: center"><span style="color: #F00;"> *</span> All fields required</p></td>
</tr>
<tr>
<td width="9">&nbsp;</td>
<td><span style="text-align: left"><span style="color: #F00;">* </span>Name:</span></td>
<td width="302"><label for="Name"></label>
<input name="Name" type="text" id="Name" size="45" maxlength="30" /></td>
<td width="16">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><span style="text-align: left"><span style="color: #F00;">*</span> Today's Date:</span></td>
<td><label for="Date_today"></label>
<input name="Date_today" type="text" id="Date_today" size="45" maxlength="12" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><span style="text-align: left"><span style="color: #F00;">*</span> Hospital:</span></td>
<td><label for="Hospital"></label>
<input name="Hospital" type="text" id="Hospital" size="45" maxlength="30" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><span style="text-align: left"><span style="color: #F00;">*</span><span style="text-align: left"> Meeting Attending:</span></span></td>
<td><label for="Meeting_attending"></label>
<input name="Meeting_attending" type="text" id="Meeting_attending" size="45" maxlength="30" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><span style="text-align: left"><span style="color: #F00;">*</span> Meeting Date:</span></td>
<td><label for="Meeting_date"></label>
<input name="Meeting_date" type="text" id="Meeting_date" size="45" maxlength="30" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><span style="text-align: left"><span style="color: #F00;">*</span> Meeting Credits:</span></td>
<td><label for="Meeting_credits"></label>
<input name="Meeting_credits" type="text" id="Meeting_credits" size="45" maxlength="30" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><span style="text-align: left"><span style="color: #F00;">*</span> Vacation Days Used:</span></td>
<td><label for="Vacation_days_used"></label>
<input name="Vacation_days_used" type="text" id="Vacation_days_used" size="45" maxlength="30" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><span style="text-align: left"><span style="color: #F00;">*</span> Approved By:</span></td>
<td><label for="Approved_by"></label>
<input name="Approved_by" type="text" id="Approved_by" size="45" maxlength="30" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><span style="text-align: left"><span style="color: #F00;">*</span> Date approved:</span></td>
<td><label for="Date_approved"></label>
<input name="Date_approved" type="text" id="Date_approved" size="45" maxlength="30" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><input type="submit" name="submit" id="submit" value="Submit" /></td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
<br />
<br />
</form></div></div>
<script type="text/javascript">
swfobject.registerObject("FlashID");
</script>
</body>


</html>

Sign in to reply to this post

Jason ByrnesWebAssist

the contact form is created to use the Email_address form element for the from address, your form looks like it is missing the Email_address form element:

<input name="Email_address" type="text" class="inputValue" id="Email_address" value="" />

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...