11.07.2015 Views

Reference Guide - Melissa Data

Reference Guide - Melissa Data

Reference Guide - Melissa Data

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Reference</strong> <strong>Guide</strong>Email Object FunctionsReturn ValueThe SetLicenseString function returns a Boolean value of 0 (FALSE) or 1 (TRUE). It will return aFALSE Boolean value if the license string provided is incorrect.SyntaxCCOMBooleanValue = object->SetLicenseString(LicenseString);IntegerValue = mdEmailSetLicenseString(object,LicenseString);BooleanValue = object.SetLicenseString(LicenseString)Initialize<strong>Data</strong>FilesThe Initialize<strong>Data</strong>Files function opens the required data files and prepares Email Object for use.Before calling this function, the SetPathToEmailFiles function must have been called.Check the return value of the GetInitializeErrorString function to retrieve the result of theinitialization call. Any result other than “No Error” means the initialization failed for some reason.Return ValueThis function returns a value of the enumerated date type ProgramStatus. If the initialization issuccessful, this value will be zero. If any other value is returned, check the GetInitializeErrorStringfunction to see the reason for the error.SyntaxCCOMProgramStatus = object->Initialize<strong>Data</strong>Files();ProgramStatus = mdEmailInitialize<strong>Data</strong>Files(object);ProgramStatus = object.Initialize<strong>Data</strong>FilesGetInitializeErrorStringThis function returns a descriptive string to describe the error from the Initialize<strong>Data</strong>Files function.This returns a string describing the error caused when the Initialize<strong>Data</strong>Files function fails.SyntaxCCOMStringValue = object->GetInitializeErrorString();StringValue = mdEmailGetInitializeErrorString(object);StringValue = object.GetInitializeErrorString5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!