This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > December 2005 > Email form data
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| 1NewUser 2005-12-30, 6:29 pm |
| I have a simple form that sends results to an email address. All the data is
sent, but the formatting is bad. Line breaks do not work consistently and
display differently in different emails. Is there a way to format the results
when sending to an email?
Thanks!
Kim
| |
| Holland87 2005-12-30, 6:29 pm |
| 1NewUser wrote:
> Is there a way to format the results when sending to an email?
Yes. What server-side scripting language are you using? Can we see your code?
------
Shane H
http://www.deceptivemagic.com
| |
| 1NewUser 2005-12-30, 6:29 pm |
| I'm sorry; I don't know the language. I'm new at this.
I hope this gives you the info you need. I had to remove part of it for it to
send. Thanks!
<form action="https://www.ramco-training.com/cgi-bin/mailto" method="post"
name="RegistrationForm" id="RegistrationForm">
<p align="left"><font color="#FF0000" size="2" face="Verdana, Arial,
Helvetica, sans-serif"><strong>Register for a December class and take 1/2 off
the registration fee for yourself or a friend for any December class of equal
or lesser value! <em>This offer is not valid with any other offers or corporate
discounts.</em></strong></font></p>
<p align="left"><font face="Arial, Helvetica, sans-serif" size="2"><b><a
href="registrationform.pdf"><FONT face="Verdana, Arial, Helvetica,
sans-serif">Print Blank Registration Form</FONT></a></b></font></p>
<p align="left"><font size="3" face="Verdana, Arial, Helvetica,
sans-serif"><b><a href="javascript:;" onClick="MM_popupMsg('All information is
kept strictly confidential and will not be sold or provided to any other
company for any reason. All our email lists are opt-in only. ')"><img
src="images/privacy.jpg" width="119" height="80" border="0"></a> Please provide
the following contact information:</b></font></p>
<blockquote>
<table border="0" width="729">
<tr>
<td align="right"><font size="2" face="Verdana, Arial, Helvetica,
sans-serif"><i>Company</i></font></td>
<td><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<input type="text" size="35" name="Contact_CompanyName">
<td><P><STRONG><FONT size="2" face="Verdana, Arial, Helvetica,
sans-serif">Confirmation</FONT></STRONG><BR>
<font face="Verdana, Arial, Helvetica, sans-serif"
size="2">You will receive confirmation of your registration by email within two
business days. <STRONG><FONT color="#FF0000">If you do not receive
confirmation, please notify our office. </FONT></STRONG></font></P></td>
</tr>
<tr>
<td><font face="Verdana, Arial, Helvetica, sans-serif"
size="2"><STRONG>Pretest<BR>
</STRONG> Maximize the success of your learning experience by taking
the pretest before registering for the class. </font></td>
</tr>
<tr>
<td><font face="Verdana, Arial, Helvetica, sans-serif"
size="2"><STRONG>RAMCO Cancels Class<BR>
</STRONG> In the event a class is cancelled, you will be notified and
every effort will be made to meet your training needs.</font></td>
</tr>
<tr>
<td align="center"><div align="left"><font face="Verdana, Arial,
Helvetica, sans-serif" size="2"><STRONG>Free Repeat Policy </STRONG><BR>
Free class repeat, on a space-available basis, for up to three
months (90 days) on current software versions.</font></div></td>
</tr>
<tr>
<td align="center"><DIV align="left"><FONT size="2" face="Verdana,
Arial, Helvetica, sans-serif"><STRONG>Payment</STRONG><BR>
You will receive an invoice attached to your confirmation email.
RAMCO accepts company check, and VISA, MC, or AMEX. For security reasons, we
ask that you please call our office with a credit card number or send a check
directly to RAMCO. Our address and phone numbers are at the bottom of this
page. </FONT></DIV></td>
</tr>
<tr>
<td height="57" align="center"><p align="left"><font color="#FF0000"
face="Verdana, Arial, Helvetica, sans-serif" size="3"><STRONG>I AGREE TO THESE
TERMS</STRONG><br>
</font><font face="Verdana, Arial, Helvetica, sans-serif"
size="3">Type 'YES':
<input name="AgreeTermsConditions" type="text" size="3"
maxlength="3">
(required)</font><FONT size="3" face="Verdana, Arial, Helvetica,
sans-serif"></FONT><FONT face="Verdana, Arial, Helvetica, sans-serif"><br>
</FONT></p></td>
</tr>
</table>
</blockquote>
<HR>
<P><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b><font
size="3" color="#000000">Please let us know how you heard about RAMCO
</font></b></font></P>
<blockquote>
<table border="0" cellspacing="6">
<tr>
<td align="center" bordercolor="#000000"><div align="left">
<p align="left"><font face="Verdana, Arial, Helvetica, sans-serif"
size="2"> </font>
<LABEL>
<INPUT type="radio" name="HowHeardAboutRAMCO" value="usmail">
</LABEL>
<font face="Verdana, Arial, Helvetica, sans-serif"
size="2">RAMAGRAM newsletter schedule via US mail</font><BR>
<LABEL>
<INPUT type="radio" name="HowHeardAboutRAMCO" value="email">
</LABEL>
<font face="Verdana, Arial, Helvetica, sans-serif"
size="2">RAMAGRAM newsletter schedule via email</font><BR>
<LABEL>
<INPUT type="radio" name="HowHeardAboutRAMCO"
value="mkgletter">
</LABEL>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
Follow-up letter to student</font><BR>
<LABEL>
<INPUT type="radio" name="HowHeardAboutRAMCO" value="phone">
</LABEL>
<font face="Verdana, Arial, Helvetica, sans-serif"
size="2">Call from a RAMCO representative</font><BR>
<LABEL>
<INPUT type="radio" name="HowHeardAboutRAMCO" value="other">
</LABEL>
<FONT face="Verdana, Arial, Helvetica, sans-serif">
<input type="text" name="OtherOptionforReferral" size="40">
</FONT><BR>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
</font></p>
</div></td>
</tr>
<tr>
<td align="center"><div align="left">
<HR>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>
<INPUT name="Free_Ezine_Subscription" type="checkbox"
id="Free_Ezine_Subscription" value="checkbox">
Free Ezine Subscription.</b> Our bi-monthly electronic newsletter
(<a href="ramagramezine.doc" target="_blank">current ezine</a> ) features new
course information, product updates and our most current class schedule.</font>
<HR>
</div></td>
</tr>
</table>
<p><FONT color="#FF0000" size="2" face="Verdana, Arial, Helvetica,
sans-serif"><STRONG>Please click Submit button one time. A Registration
Submitted page should display after a few moments. If it does not, please
contact our office. We appreciate your business!</STRONG></FONT></p>
<p>
<input type="submit"
onClick="MM_validateForm('Contact_Name','','R','Contact_Phone','','R','Contact_A
ddress1','','R','Contact_City','','R','Contact_State','','R','Contact_ZipCode','
','R','Contact_email','','RisEmail','AgreeTermsConditions','','R');return
document.MM_returnValue">
<input type="reset" name="Reset" value="Reset Form">
<font face="Arial" size="2"><i>
</i></font>
<INPUT TYPE="HIDDEN" NAME="RECIPIENT"
VALUE="registrar@ramco-training.com">
<INPUT TYPE="HIDDEN" NAME="THANKURL"
VALUE="https://www.ramco-training.com/regsubmit.htm">
</p>
</blockquote>
</form>
| |
| Gary White 2005-12-30, 6:30 pm |
| On Fri, 30 Dec 2005 20:15:37 +0000 (UTC), "1NewUser"
<webforumsuser@macromedia.com> wrote:
>I have a simple form that sends results to an email address. All the data is
>sent, but the formatting is bad. Line breaks do not work consistently and
>display differently in different emails. Is there a way to format the results
>when sending to an email?
How are you sending the mail?
Gary
| |
|
|
| Gary White 2005-12-30, 10:24 pm |
| On Fri, 30 Dec 2005 22:07:52 +0000 (UTC), "1NewUser"
<webforumsuser@macromedia.com> wrote:
>It sends when the user clicks the submit button. The method is POST.
>The action is https://www.ramco-training.com/cgi-bin/mailto
Then it's using a CGI script written, most likely, in Perl. Check the
documentation for the script. Perhaps there is something that you can do
in the way of configuration. Otherwise, you'll need to modify the
script.
Gary
| |
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|