|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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)? |
|
#2
|
||||
|
||||
|
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 |
|
#3
|
|||
|
|||
|
Quote:
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. |
![]() |
| Viewing: ASP Free Forums > Other > Programming Help > Mailto and Carriage Returns |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|