|
|
AddBody(body As string, contentType As string, charset As string, lineLength As long)
AddBody(string body, string contentType, string charset, long lineLength);
| name | type | description | ||
| body | string | The text that makes up the body. | ||
| contentType | string | (optional) The content type of the body, eg text/html. This is not needed for plain text bodies. | ||
| charset | string | (optional) The character set of the body. | ||
| lineLength | long | (default = 76) The length to wrap the lines at. If set to 0, the lines will not be wrapped. |
Adds a body to the email.
It is possible to add more than one body to an email. When this occurs a compliant email reader will choose the last body it can read, for example you could send a simple text body, then a body in a different character set, then an html body. Email clients that can display html will show the html body, simpler clients may only show the simple text.
Note that many email clients cannot properly handle multiple bodies or even bodies that aren't plain text.
We always want to hear your feedback. Send to feedback@toolsack.com.
© 2000-2001 Toolsack Software Ltd.