| Home | Previous Lesson: Course 3:: Session 26 :: Page 50 Next Lesson: Course 3:: Session 26 :: Page 70 |
| Creating
a Mail Session Before you do anything on the mail system through PowerBuilder you need to create an instance of a MailSession object. // Instance variables All the above variables are declared as instance variables since we need to refer to these variables from various events/functions in a window. In order to capture most of the mail functions return values we need to declare a variable of type MailReturnCode because, most of the mail functions return enumerated datatype values. ims_MSession = Create MailSession By calling the CREATE statement we are creating an instance of the MailSession object in the memory. |
| Home | Previous Lesson: Course 3:: Session 26 :: Page 50 Next Lesson: Course 3:: Session 26 :: Page 70 |