|
| |
|
|
rickyzicky
Posts: 208 From: roch, ny Status: offline
|
cdonts email text - 10/23/2002 12:29:54
I have a for that submits to a confirmation page that also sends an email. Everything works well, but I have 2 minor issues. I have a line that is very long and can' t seem to break it up into multiple lines without returning errors. Also, I would like to be able to control the font in the email to be larger or bolder etc.. Can this be accomplished easy? Here is the code in question. The " MYBody" line is the long one i need to break up and I' d like to make the " request.form emailaddress" bold ------------------------------------------------------------------------------ <% Set MyCDONTSMail = CreateObject(" CDONTS.NewMail" ) MyCDONTSMail.From= request.form(" emailaddress" ) MyCDONTSMail.To= " wachasay@rochester.rr.com" MyCDONTSMail.Subject=" Children' s Christmas Party" ' ----------------------------------------------------------------------------------- MyBody = request.form(" R1" ) &" :" & vbCrLf &request.form(" adult" )&" : " &request.form(" emailaddress" )& vbCrlf &request.form(" name1" )&" :" &request.form(" age1" )& vbCrLf &request.form(" name2" )&" :" &request.form(" age2" ) & vbCrLf &request.form(" name3" )&" :" &request.form(" age3" )& vbCrLf &request.form(" name4" )&" :" &request.form(" age4" )& vbCrLf &request.form(" name5" )&" :" &request.form(" age5" )& vbCrLf ' -----------------------------------------------------------------------------------
< Message edited by rickyzicky -- 10/23/2002 12:31:38 PM >
|
|
|
|
rickyzicky
Posts: 208 From: roch, ny Status: offline
|
RE: cdonts email text - 10/23/2002 12:42:24
No..it comes out as text. Thanks
|
|
|
|
rdouglass
Posts: 9228 From: Biddeford, ME USA Status: offline
|
RE: cdonts email text - 10/23/2002 12:55:48
You may be also missing the MIME and BODY types. Try using this: Set myMail = CreateObject(" CDONTS.NewMail" ) myMail.BodyFormat = 0 myMail.MailFormat = 0 MyCDONTSMail.From= request.form(" emailaddress" ) ....... But, yeah, as bobby said, you' ll usually need to ' build' a HTML page.... EDIT: Here is a pretty good page I refer to if sending HTML thru CDONTS.
< Message edited by rdouglass -- 10/23/2002 1:04:55 PM >
|
|
|
|
rickyzicky
Posts: 208 From: roch, ny Status: offline
|
RE: cdonts email text - 10/23/2002 13:45:12
Thanks for the help. I' ll give it a shot and check back. RZ
|
|
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
|
|
|