PC Review


Reply
Thread Tools Rate Thread

CDONTS Formatting Question

 
 
Ed Richter
Guest
Posts: n/a
 
      23rd Mar 2005
Using CDONTS to send email message out. Am wondering if there's anything I can do, add tab charactor, or insert a table inside mesaage to make the fields in the message as shown below line up.

Match Date: 1/12/2005 Home Team: Hilton Away Team: Spencerport 2 Partner: Dave Linds
Match Date: 5/18/2005 Home Team: Spencerport Away Team: Greece Arcadia Partner: John Marroco

Code is generated by:

sMailposts =sMailposts & "Match Date: " & G_Date_value & " " & " Home Team: " & Home_value & " " & " Away Team: " & Away_value & " " & " Partner: " & Partner_F_name & " " & Partner_L_name & vbNewLine

Wondering if there's anything I can do within CDONTS to fix this??
 
Reply With Quote
 
 
 
 
Thomas A. Rowe
Guest
Posts: n/a
 
      23rd Mar 2005
Yes, but you would need to search for example script on sending HTML email via CDONTS or CDOSYS.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp

"Ed Richter" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
Using CDONTS to send email message out. Am wondering if there's anything I can do, add tab
charactor, or insert a table inside mesaage to make the fields in the message as shown below line
up.

Match Date: 1/12/2005 Home Team: Hilton Away Team: Spencerport 2 Partner: Dave Linds
Match Date: 5/18/2005 Home Team: Spencerport Away Team: Greece Arcadia Partner: John
Marroco

Code is generated by:

sMailposts =sMailposts & "Match Date: " & G_Date_value & " " & " Home Team: " & Home_value & "
" & " Away Team: " & Away_value & " " & " Partner: " & Partner_F_name & " " & Partner_L_name
& vbNewLine

Wondering if there's anything I can do within CDONTS to fix this??


 
Reply With Quote
 
Stefan B Rusynko
Guest
Posts: n/a
 
      23rd Mar 2005
The tab is vbTab or Chr(9)
As in
sMailposts =sMailposts & "Match Date: " & G_Date_value & vbTab ....

But that may not align your fields (depend on the field value lengths)
See http://www.aspfaq.com/show.asp?id=2474

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Ed Richter" <(E-Mail Removed)> wrote in message news:(E-Mail Removed)...
Using CDONTS to send email message out. Am wondering if there's anything I can do, add tab charactor, or insert a table inside
mesaage to make the fields in the message as shown below line up.

Match Date: 1/12/2005 Home Team: Hilton Away Team: Spencerport 2 Partner: Dave Linds
Match Date: 5/18/2005 Home Team: Spencerport Away Team: Greece Arcadia Partner: John Marroco

Code is generated by:

sMailposts =sMailposts & "Match Date: " & G_Date_value & " " & " Home Team: " & Home_value & " " & " Away Team: " &
Away_value & " " & " Partner: " & Partner_F_name & " " & Partner_L_name & vbNewLine

Wondering if there's anything I can do within CDONTS to fix this??


 
Reply With Quote
 
 
 
Reply

Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CDONTS Question Ed Richter Microsoft Frontpage 3 30th Jun 2005 01:34 AM
CDONTS question Ed Richter Microsoft Frontpage 3 3rd Jan 2004 12:23 AM
CDONTS Question Ed Richter Microsoft Frontpage 3 31st Dec 2003 12:59 PM
CDONTS email question - where do rejected emails go? Eric Microsoft VB .NET 1 22nd Dec 2003 08:05 PM
CDONTS Stephan Microsoft ASP .NET 2 2nd Dec 2003 04:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:18 PM.