Hi, I get another strange error on line 49:

The error is:
Powerbuilder execution error. Error: error accessing
external object property send at line 49 in clicked event in
object cb_1 of w_mail

Everything seems to go fine, and an email can be send. Does
anybody have an idea?


Here the code before the send property

//Creates a new mail Item
ole_item = ole_outlook.CreateItem(0)
//Set the subject line of message
ole_item.Subject = "subject"
//Body of mail message
ls_bericht = "test"
ole_item.Body = ls_bericht
//Recipient(s) Use a semicolon to separate multiple
ole_item.To = ls_email
ole_item.Display //displays the message
ole_item.Send //sends the message