RAD Studio VCL Reference
|
Indicates the encoding (character set) of the body of the attachment.
property Encoding: InvString;
__property InvString Encoding;
Use Encoding to look up or set the encoding type of the attachment's content. When sending an attachment, set this property to indicate the encoding that was used for the source you supply.
If you supply the attachment data as a string by setting the SourceString property, TSOAPAttachment assumes an encoding of UTF-8 if you do not set the Encoding property. If you supply the attachment data by calling SetSourceFile or SetSourceStream, you must set the Encoding property, as TSOAPAttachment does not have a meaningful default encoding.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|