|
| |
|
|
pd_it_guy
Posts: 97 Joined: 3/4/2008 Status: offline
|
CDOSYS message body - 3/21/2008 11:55:45
After yesterday's success (thank you all again) we have run right smack into another challenge. The repair request form is supposed to send an informative email message to the repair supervisor. That part, the CDOSYS mail, now sends just fine. Today's problem is in the body of the message. It's a strung together block of preamble text, interspersed with some recovered form variables, and more text mixed in. And, it too works just fine, except I would really like to break it up into paragraphs. I tried adding what I though to be a CR LF at the break points by adding &chr(10)&chr(13) and while it continues to work without error, MS Outlook, which is what is going to be used to look at these things completely ignores it and still makes it one big paragraph. I have no ither idea what to bury in the script that will make Outlook or any other mail viewer for tht matter give me a carriage return and line feed. We can live with this, but it's not as professional looking as I would like to be able to turn out. Any ideas would be most appreciated. Thanks in advance
|
|
|
|
rdouglass
Posts: 9167 From: Biddeford, ME USA Status: offline
|
RE: CDOSYS message body - 3/21/2008 12:20:05
quote:
&chr(10)&chr(13) Try adding a <br> instead. You may be sending it (the body) as HTML. Or you may need to send it as VbCrLf if it's in text. I usually have better luck with one of those vs. the ascii's. Hope it helps.
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
|
|
pd_it_guy
Posts: 97 Joined: 3/4/2008 Status: offline
|
RE: CDOSYS message body - 3/21/2008 12:32:13
Now let me get this straight: Where I want a paragraph break it's &<BR> or &VbCrLf I will the second one now. This is embedded within VB script and I dont know if it understands a <BR> Will report back momentarily..
|
|
|
|
pd_it_guy
Posts: 97 Joined: 3/4/2008 Status: offline
|
RE: CDOSYS message body - 3/21/2008 12:42:38
Wow that worked! For the record, I sent the <BR> as a quoted string. But, Outlook didnt print it as such but assumed it was an HTML format request and paragraphs showed up exactly as desired. I guess if that worked I could use <P> and </P> as well. I'll save that for later. Your wisdom and kind assistance is once again most appreciated. pd_it_guy
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|