Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Email form data
 

1NewUser




quote this post edit post

IP Loged report this post

Old Post  12-30-05 - 11:29 PM  
I have a simple form that sends results to an email address.  All the data i
s
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 resul
ts
when sending to an email?

Thanks!
Kim



Post Follow-Up to this message ]
Re: Email form data
 

Holland87




quote this post edit post

IP Loged report this post

Old Post  12-30-05 - 11: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



Post Follow-Up to this message ]
Re: Email form data
 

1NewUser




quote this post edit post

IP Loged report this post

Old Post  12-30-05 - 11: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 t
o
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 of
f
the registration fee  for yourself or a friend for any December class of equ
al
or lesser value! <em>This offer is not valid with any other offers or corpor
ate
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 prov
ide
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 chec
k
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 THE
SE
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.</fo
nt>
<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','Conta
ct_A
ddress1','','R','Contact_City','','R','Contact_State','','R','Contact_ZipCod
e','
','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>



Post Follow-Up to this message ]
Re: Email form data
 

Gary White




quote this post edit post

IP Loged report this post

Old Post  12-30-05 - 11: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 resu
lts
>when sending to an email?


How are you sending the mail?

Gary


Post Follow-Up to this message ]
Re: Email form data
 

1NewUser




quote this post edit post

IP Loged report this post

Old Post  12-30-05 - 11:30 PM  
It sends when the user clicks the submit button.  The method is POST.  The action is [u
rl]https://www.ramco-training.com/cgi-bin/mailto[/url]


Post Follow-Up to this message ]
Re: Email form data
 

Gary White




quote this post edit post

IP Loged report this post

Old Post  12-31-05 - 03:24 AM  
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


Post Follow-Up to this message ]
Re: Email form data
 

Alan




quote this post edit post

IP Loged report this post

Old Post  12-31-05 - 03:24 AM  

> It sends when the user clicks the submit button.  The method is POST.  The
> action is https://www.ramco-training.com/cgi-bin/mailto

it's at:
http://www.ramco-training.com/cgi-bin/mailto

follow the host's instructions.
http://help.earthlink.net/websupport/member/mailto.html

there isn't much that can be done about formatting or linefeeds when using
that script- about all is changing the sort order.  You'd have to install
your own custom scripting to do much more that list the variable:value
pairs.



Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 10:38 PM. Post New Thread   
  Previous Last Thread   Next Thread next
Dreamweaver archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top