Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsOtherProgramming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old July 16th, 2007, 09:44 AM
SuperHappy SuperHappy is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Posts: 3 SuperHappy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 5 sec
Reputation Power: 0
Mailto and Carriage Returns

Hi all. This should be a simple question if I can express myself correctly. I'm using a flash file to send some variables to an ASP page. The ASP page intercepts them and uses the mail.to/mail.send object to send the message to my email. I'd like to format the information sent in the Textbody area by putting a carriage return in so that instaed of getting a long string that word wraps, I can control where a line break occurs. For instance --

This is the way text looks now:

Name:thisismynameSubject:thisismysubjectModel:this isa model number line

I would like the message to look like this:

Name:thisismyname
Subject:thisismysubject
Model:thisisamodelnumberline

How can I get a carriage return/line feed character into it after the Name section, Subject section, etc.? Am I going about it wrong (I just started using ASP)?

Reply With Quote
  #2  
Old July 16th, 2007, 09:48 AM
mehere's Avatar
mehere mehere is offline
Senior Sarcasm Wizardess
Click here for more information.
 
Join Date: Feb 2005
Location: Dreamland
Posts: 12,789 mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)mehere User rank is General 9th Grade (Above 100000 Reputation Level)  Folding Points: 10976 Folding Title: Novice Folder
Time spent in forums: 4 Months 3 Weeks 6 Days 22 h 25 m 4 sec
Reputation Power: 1567
something like this:
Code:
strVar = "Name: " & name_variable & vbCrLf

add the vbCrLf at the end where you want the line to break.
__________________
Come JOIN the party!!!

Quote of the Month:
Sacrifice (Temple): All we ask here is that you give us your heart.

Questions to Ponder:
If the #2 pencil is the most popular, why is it still #2?

iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm")
copyright© 2008 sbenj69

Reply With Quote
  #3  
Old July 16th, 2007, 09:55 AM
SuperHappy SuperHappy is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jul 2007
Posts: 3 SuperHappy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 5 sec
Reputation Power: 0
Quote:
Originally Posted by mehere
something like this:
Code:
strVar = "Name: " & name_variable & vbCrLf

add the vbCrLf at the end where you want the line to break.


Thanks! That is EXACTLY what I wanted to know! You hit the nail right on the head. Thanks a lot. I hope I can get the chance to answer someone elses question that clearly and concisely in the future.

Reply With Quote
Reply

Viewing: ASP Free ForumsOtherProgramming Help > Mailto and Carriage Returns


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway