Click or drag to resize

CStorage.SaveEMail Method

X#
This method stores a CEMail object including all data under the address of the cID. You have to implement this method and the meaning of cID. THIS METHOD IS NOT IMPLEMENTED IN CSTORAGE AND NOT CALLED BY THE INTERNET CLASSES

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD SaveEMail(
	cId AS STRING,
	oEMail AS CEmail
) AS LOGIC
Request Example View Source

Parameters

cId
Type: String
Unique Identifier for the Email
oEMail
Type: CEmail
Object that contains the email

Return Value

Type: Logic
LOGIC TRUE when the email was saved succesfully
Remarks
Tip Tip
The following shows a logical template of this method:
X#
 1METHOD SaveEMail(cId AS STRING, oEMail AS CEMail) AS LOGIC PASCAL CLASS MyCStorage
 2//Save oEMail with the current ID
 3//You should save the following
 4// 1.) oEMail:MailHeader for received mails, not for sent mails
 5//     call oEMail:SetHeaderInfo() to create the MailHeader
 6// 2.) oEMail:Body
 7// 3.) oEMail:Html
 8// 4.) Call Self:SaveAttachments(oEMail)
 9// 5.) Save oEMail:AttachmentInfo
10RETURN TRUE
See Also