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

MimeMessage object – PB Docs 2022 – PowerBuilder Library

MimeMessage object – PB Docs 2022

MimeMessage object

The MimeMessage object represents a MIME style email message.

Properties

MimeMessage property

Datatype

Description

ClassDefinition

PowerObject

An object of PowerObject type containing
information about the class definition of the object or
control.

Encoding in Objects and Controls

String

Sets the encoding of this email message
body.

HtmlBody in Objects and Controls

String

Gets or sets the message body in HTML format, which
may link to any LinkedResources.

Priority in Objects and Controls

Integer

Sets the priority of this email message.

Subject in Objects and Controls

String

Sets the subject line that contains the subject
content for this email message.

TextBody in Objects and Controls

String

Gets or sets the message body in plain-text
format.

Functions

MimeMessage function

Datatype returned

Description

AddAttachment in PowerScript Reference

Integer

Adds the attachment collection used to store data
attached to this email message.

AddBcc in PowerScript Reference

Integer

Adds the specified Bcc email address and display
name.

AddCc in PowerScript Reference

Integer

Adds the specified Cc email address and display
name.

AddLinkedResource in PowerScript Reference

Integer

Adds a special type of attachment which is linked
from the html.

AddRecipient in PowerScript Reference

Integer

Adds the specified recipient’s email address and
display name.

ClassName

String

Returns the name assigned to the user
object.

GetContextService

Integer

Creates a reference to a context-specific instance
of the specified service.

GetParent

PowerObject

Returns a reference to the name of the parent
object.

GetSender in PowerScript Reference

String

Gets the specified sender’s email
address.

PostEvent

Boolean

Adds an event to the end of the message queue of
the user object.

Reset in PowerScript Reference

Integer

Resets the MimeMessage information.

SetSender in PowerScript Reference

Integer

Sets the specified sender’s email address and
display name.

TriggerEvent

Integer

Sends an event to the user object and executes the
script associated with the event.

TypeOf

Object

Returns the type of the user object.


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