CStorage.RawNew Method | |
This method is called at the beginning before any data is received.
You have to implement how you want to store and address the raw data here.
Namespace:
VO
Assembly:
VOInternetClasses (in VOInternetClasses.dll) Version: 2.19
Syntax VIRTUAL METHOD RawNew(
oEMail AS CEmail
) AS VOID
public virtual void RawNew(
CEmail oEMail
)
Request Example
View SourceParameters
- oEMail
- Type: CEmail
Email object for the mail that is received. Note that almost all of the properties of this object will be empty.
Return Value
Type:
NOTHING
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