OpenEmail Macro

Use the Open Email macro to open the user's email client and populate the recipient and subject of the email message.

Parameters:

 

  • Addresses:A semicolon or comma-delimited list of email addresses to be placed in the To field of the email message.
  • Subject: The subject of the email message.

 

Return Value:

 

None

 

Example 1:

 

The following example uses two macros, Eval and OpenEmail, to create an event that evaluates and pulls addresses from borrower and co-borrower email address fields and opens an email message with the subject "Your credit report is ready."

 

You need to type additional code in addition to adding the macros.

 

Macro,OpenEMail("joe@email.com,mary@email.com", "Your credit report is ready.")

 

Example 2:

This is an example of creating a custom event by combining macros and custom code. The code below evaluates and pulls addresses from the borrower and co-borrower email address fields on the Borrower Summary. The event is created by typing custom code and then adding the Eval and OpenEmail macros.

 

Dim Addrs as String

Addrs = Macro.Eval("[1240] & "";"" & [1268]")

Macro.OpenEMail(Addrs, "Your credit report is now available.")