Hello,
I've been able to get my form working with regards to having my online input data being placed into my database via odbc, but can't seem to get the email notice working on the form, any thoughts? Thanks, z
I've been able to get my form working with regards to having my online input data being placed into my database via odbc, but can't seem to get the email notice working on the form, any thoughts? Thanks, z
Hi mzeidler,
Please try to send to free email accounts(just as a test first), use the latest version V2.3.4, does this solve it ? No ? please send here a screenshot of your general tab and turn Debug on and send the debug output screenshot.
Cheers
Max
Please try to send to free email accounts(just as a test first), use the latest version V2.3.4, does this solve it ? No ? please send here a screenshot of your general tab and turn Debug on and send the debug output screenshot.
Cheers
Max
Currently I have version 2.3 installed, Will Version 2.3.4 eliminate the mailing problem? Currently the html/php form that I'm using works outside of ChronoForms and sends an email! When I put the code into Chronoforms it is no longer sending the email! Any thoughts? Thanks z :-)
hmmm, could you please post the form code ?🙂
Cheers
Max
Cheers
Max
html >>>>
<table border="0" cellpadding="0">
<tr>
<td colspan="3" width="100%"><h1><font color="#006633">Contact ResLife</font></td>
</tr>
<tr>
<td align="right"><strong>Last Name:</strong></td>
<td width="5"><img src="Spacer.gif" width="5" height="1" border="0" alt=""></td>
<td width="100%"><input name="lastName" type="text" value="" size="30"></td>
</tr>
<tr height="5">
<td colspan="3" width="100%"><img src="Spacer.gif" width="1" height="5" border="0" alt=""></td>
</tr>
<tr>
<td align="right"><strong>First Name:</strong></td>
<td width="5"><img src="Spacer.gif" width="5" height="1" border="0" alt=""></td>
<td width="100%"><input name="firstName" type="text" value="" size="30"></td>
</tr>
<tr height="5">
<td colspan="3" width="100%"><img src="Spacer.gif" width="1" height="5" border="0" alt=""></td>
</tr>
<tr>
<td align="right"><strong>E-mail:</strong></td>
<td width="5"><img src="Spacer.gif" width="5" height="1" border="0" alt=""></td>
<td width="100%"><input name="eMail" type="text" value="" size="30"></td>
</tr>
<tr height="5">
<td colspan="3" width="100%"><img src="Spacer.gif" width="1" height="5" border="0" alt=""></td>
</tr>
<tr height="5">
<td colspan="3" width="100%"><img src="Spacer.gif" width="1" height="5" border="0" alt=""></td>
</tr>
<tr height="5">
<td colspan="3" width="100%"><img src="Spacer.gif" width="1" height="5" border="0" alt=""></td>
</tr>
<tr>
<td colspan="3" width="100%"><strong>Enter your message below:</strong></td>
</tr>
<tr>
<td colspan="3" width="100%"><textarea name="reason" rows="8" cols="58"></textarea></td>
</tr>
<tr height="5">
<td colspan="3" width="100%"><img src="Spacer.gif" width="1" height="5" border="0" alt=""></td>
</tr>
<tr>
<td><input type="submit" name="Submit" value="Submit"></td>
</tr>
</table>
<br><br>Post edited by: admin, at: 2007/09/21 18:54
PHP >>>>>>
Post edited by: admin, at: 2007/09/21 18:53<br><br>Post edited by: admin, at: 2007/09/21 18:54
<?php
/*
STaRS Web Team
Washington University in St. Louis
Project: Residential Life Forms
Filename: Contact.php
Description: This file takes the input from Contact.html and emails the default ResLife information address.
Created: 12/04/03 FJM
Modifications: 12/04/03 FJM Adding Comments
12/05/03 FJM Changed email address in to field
Inputs: (from Contact.html)
lastName Last Name of Student
firstName First Name of Student
eMail Email Address of Student
reason Message of Student
*/
?>
<html>
<head>
<title>Washington University in St. Louis Residential Life - Contact ResLife</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</script>
</head>
<script type="text/javascript">
<!--
/*
Milonic DHTML Website Navigation Menu - Version 3.4
Written by Andy Woolley - Copyright 2002 (c) Milonic Solutions Limited. All Rights Reserved.
Please visit http://www.milonic.co.uk/menu or e-mail menu3@milonic.com for more information.
The Free use of this menu is only available to Non-Profit, Educational & Personal web sites.
Commercial and Corporate licenses are available for use on all other web sites & Intranets.
All Copyright notices MUST remain in place at ALL times and, please keep us informed of your
intentions to use the menu and send us your URL.
*/
// -->
</script>
<script src="../../menu/menu_array_index.js" type="text/javascript"></script>
<script src="../../menu/mmenu.js" type="text/javascript"></script>
<body link="#0000CC" vlink="#0000CC" alink="#0000CC">
<table width="59%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="960" height="99">
<p><img src="../../Pictures/Banners_Headers/main_banner-wht.png" width="701" height="99">
</p>
</td>
</tr>
</table>
<table cellpadding=5 width="73%" align=left bgcolor="#FFFFFF">
<tbody>
<tr valign=top>
<td style="COLOR: #ffffff" noWrap width=156 height="458" bgcolor="#990000">
<table width="144" border="0" bgcolor="#990000">
<tr>
<td width="180" colspan="2"> <div align="center"><img src="../../Pictures/Banners_Headers/washu-banner.png" width="150" height="50"></div></td>
</tr>
<tr>
<td height="202" colspan="2" valign="top">
<div align="left"> </div>
</td>
</tr>
</table>
</td>
<td valign=top width="525" height="458">
<div align="left">
<h1><font color="#006633">Contact ResLife</font></h1>
<?php
//Creating date tag
$today = date("F j, Y, g:i a"«»);
//Creating email parameters
$email_body = "Message to ResLife:\r\n\r\n";
$email_body .= "Submitted on: ".$today."\r\n\r\n";
$email_body .= "Last Name: ".$_POST["lastName"]."\r\n";
$email_body .= "First Name: ".$_POST["firstName"]."\r\n";
$email_body .= "Email: ".$_POST["eMail"]."\r\n";
$email_body .= "Message: ".$_POST["reason"]."\r\n";
//Creating headers for email
$headers = "From: Message to ResLife <".$_POST["eMail"].">";
//Display results of email function
$formsent = mail("kkunz@wustl.edu, pnichols@wustl.edu", "Message to ResLife", $email_body, $headers);
if($formsent == 1)
{
print("<p>Thank you, <b>".$_POST["firstName"]." ".$_POST["lastName"]."</b>. We have received your Message to ResLife."«»);
}
else
print("I'm sorry, there's a problem with your form. Please try again."«»);
?>
Post edited by: admin, at: 2007/09/21 18:53<br><br>Post edited by: admin, at: 2007/09/21 18:54
Hi mzeidler,
Ok, so lets completely remove that PHP code, do you get the email ?
Max
Ok, so lets completely remove that PHP code, do you get the email ?
Max
yes, remove any php code you have added anywhere in chronoforms!!
Cheers
Max
Cheers
Max
Hi,
So now you have only the html code and you have enabled emails, filled up all necessary fields and it doesn't work ??
So now you have only the html code and you have enabled emails, filled up all necessary fields and it doesn't work ??
Unfortunately! I've never been able to have any forms working through Chronoforms send me an email notice?? Hmmmm? I'll keep plugging away at it! Thanks! :-)
Please try the one in the written/visual tutorial then let me know if this wont work, please try to use free email accounts and check if your site is sending emails when new user registers!🙂
Sincerely,
Max
Sincerely,
Max
Max,
It Works! WooHooo!! I had our unix guru look at it and he discovered that a bogus domain existed in the sendamail, thus was not working in sending email! I now have my html/php form working in chronoforms, both sending email and depositing data via odbc into mySQL db! Keep up the great work!! Thanks, Mike :-)
It Works! WooHooo!! I had our unix guru look at it and he discovered that a bogus domain existed in the sendamail, thus was not working in sending email! I now have my html/php form working in chronoforms, both sending email and depositing data via odbc into mySQL db! Keep up the great work!! Thanks, Mike :-)
Great!! thanks Mike!
Max
Max
This topic is locked and no more replies can be posted.