Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5717 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I am trying to set up a script to send an email to a field specified recipient[Email Address].

I have done this thus far, however there is ONLY an option to either send:

One email using data from the current record

Multiple emails (one for each record in found set)

I want to (if able) send One email, with a list of field values in the body of the email, possibly 2 field values [item Description] and [item ID].

eg. Say i do a Find for all records with a Due Date < Today, and there are 3 records found.

I want the Field Values [item Description] and [item ID] listed in the body of the email.

There would be 2 Field Values(Description & ID) for each record, thus six(6) field values placed into the email body.

How can i achieve this?

I do not want multiple emails sent, but one email with ALL the basic data from the Fields found.

Corey....

Posted

You can gather all the record data you want into a global field via a loop and then reference the global field as part of your body. Use tab and return spacing to make it neater. Something like:

Set [ gBody; "" ]

Go to record [first]

Loop

Set [gBody; gBody & ¶ & ItemID & " " & ItemDescription ]

Go to Record [Next; Exit After Last ]

End Loop

Send Mail []

This topic is 5717 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.