Mastering PowerBuilder

HomePrevious Lesson: Course 3:: Session 26 :: Page 30
Next Lesson: Course 3:: Session 26 :: Page 50
Mail Functions

The following table lists all the mail related functions that are available in PowerBuilder. Most of the following functions return enumerated data types which are listed under 'Mail related Enumerated Data types' section.

Mail Function Name Description
MailLogOn() Logs you on to the mail system.
MailGetMessage() Reads the mail message envelope information
MailReadMessage() Reads the actual mail message
MailDeleteMessage() Deletes the specified message from mail system
MailSaveMessage() Saves the message on the mail system
MailAddress() Prompts the user for a mail address and allows him to select an existing address or create a new address
MailRecipientDetails() Gets the recipient details
MailResolveRecipient() Resolves the recipient details by looking into the mail address book.
MailSend() Sends the mail message
MailHandle() Returns the handle of the mail session
MailLogOff() As the name says, logs user off the mail system.
HomePrevious Lesson: Course 3:: Session 26 :: Page 30
Next Lesson: Course 3:: Session 26 :: Page 50