Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

mailRecipientDetails – PB Docs 2019 – PowerBuilder Library

mailRecipientDetails – PB Docs 2019

mailRecipientDetails

PowerScript function

Description

Displays a dialog box with the specified recipient’s address
information.

Applies to

mailSession object

Syntax

Argument

Description

mailsession

A mailSession identifying the session in which you want to
display the detail information for a recipient.

mailrecipient

A mailRecipient structure containing valid address
information. Mailrecipient must contain a recipient identifier
returned by mailAddress, mailResolveRecipient, or
mailReadMessage.

allowupdates (optional)

A boolean indicating whether updates to the recipient’s
name will be allowed. If the user does not have update
privileges for the mail system, then allowupdates is ignored.
The default is false.

allowupdates is always true for Extended MAPI.

Return value

mailReturnCode. Returns one of the following values:

mailReturnSuccess!

mailReturnFailure!

mailReturnInsufficientMemory!

mailReturnUnknownRecipient!

mailReturnUserAbort!

If any argument’s value is null, mailRecipientDetails returns
null.

Usage

The effect of setting allowupdates to true depends on the mail
system and the user’s privileges.

Before calling mail functions, you must declare and create a
mailSession object and call mailLogon to establish a mail session.

Examples

This example gets the message IDs from the user’s inbox and reads
the first message. It then calls mailRecipientDetails to display address
information for the first recipient. Recipient is an array of structures
and a property of mailMessage. Each array element is one of the message’s
recipients. The example does not check how many values there are in the
message ID or recipient arrays and it assumes that the application has
already created a mailSession object and logged on:

See also

mailResolveRecipient

mailSend


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x