View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006330 | JEDI VCL | 00 JVCL Components | public | 2014-09-23 16:23 | 2020-05-19 09:50 |
Reporter | chrvel | Assigned To | obones | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | suspended | ||
Product Version | 3.47 | ||||
Target Version | Fixed in Version | ||||
Summary | 0006330: jvInterpreterProgram, Com Object problem (ex: CreateOleObject('CDO.Message')), property "To" not accessible | ||||
Description | When I use the following code : Procedure sendmail; var objMessage:Olevariant; begin objMessage:=CreateOleObject('CDO.Message'); objMessage.Subject:='Test'; objMessage.From:='xxxxx@xxxxx.xxx'; objMessage.To:='xxxxxxxxxx@xxxx.xxx'; ..... objMessage.Configuration.Fields.Update; objMessage.Send; end; I get an error : Error in unit 'xxxxx' on line xx: Expression expected but 'To' found. | ||||
Additional Information | This line fails : objMessage.To:='xxxxxxxxxx@xxxx.xxx'; I am using JVCL 3.48 | ||||
Tags | No tags attached. | ||||
|
Please provide the zipped sources of a sample application showing this. Note that it's most likely because "To" is a reserved keyword, maybe you could try prefixing it with the & prefix |
|
No reply in a timely manner, suspending the issue |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-09-23 16:23 | chrvel | New Issue | |
2014-12-04 15:00 | obones | Note Added: 0021078 | |
2014-12-04 15:00 | obones | Status | new => feedback |
2020-05-19 09:50 | obones | Assigned To | => obones |
2020-05-19 09:50 | obones | Status | feedback => resolved |
2020-05-19 09:50 | obones | Resolution | open => suspended |
2020-05-19 09:50 | obones | Note Added: 0021885 |