When using CDONTS to send mail I know the body has to be fomatted as text but can use characters like Chr(13) to return to the next line. Where can I find a list of all characters?
Thanks for any help.
Printable View
When using CDONTS to send mail I know the body has to be fomatted as text but can use characters like Chr(13) to return to the next line. Where can I find a list of all characters?
Thanks for any help.
hi artsapimp
you can use most of all of vbcommands like vbnewline as in vb
vbCr Chr(13) Carriage return.
VbCrLf Chr(13) & Chr(10) Carriage return–linefeed combination.
vbFormFeed Chr(12) Form feed; not useful in Microsoft Windows.
vbLf Chr(10) Line feed.
vbNewLine Chr(13) & Chr(10) or Chr(10) Platform-specific newline character; whatever is appropriate for the platform.
vbNullChar Chr(0) Character having the value 0.
vbNullString String having value 0 Not the same as a zero-length string (""); used for calling external procedures.
vbTab Chr(9) Horizontal tab.
vbVerticalTab Chr(11) Vertical tab; not useful in Microsoft Windows.
Hope this helps
Ian
Thank you for the information. Let me explain what I'm trying to do and see if it's possible at all...
I have a form where basic Name, Address, Phone Number, etc. is filled out and sent to an email box monitored by a specific department in my office. The email I have being sent to them is send with real basic formatting like this..
I am wanting it to look like a table where it can be read easier and look more professional. I know writing table, tr, td, etc. won't work. Is there anything that will?Code:strBody = "Name: " & Request.Form("Name") & Chr(13)
strBody = strBody + "Address: " & Request.Form("Address") & Chr(13)
...