CStorage.RawWrite Method | |
Now this method is called multiple times until the complete email including all attachments is received. You have to implement how you want to store each data block.
Namespace:
VO
Assembly:
VOInternetClasses (in VOInternetClasses.dll) Version: 2.21
Syntax VIRTUAL METHOD RawWrite(
cData AS STRING
) AS VOID
public virtual void RawWrite(
string cData
)
Request Example
View SourceParameters
- cData
- Type: String
Contains the file name of the attachment.
Return Value
Type:
cID STRING The unique ID. If AttachmentAdd() fails it returns a NULL_STRING.
Remarks Tip |
---|
It is not recommended to decode raw emails in memory as one single string.
The preferred mechanism is to stream them to disk or to a database. "streaming" instead.
Look into the method EmailWindowMain:ImportMail() of the email sample to see how easy this works.
If you want to see how to send an email into a raw email file look into the method EmailStore:SendMailAsFile() of the email sample.
|
See Also