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

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

Recommended Posts

Posted

Hi,

I'm using the Send Mail script step and have made a calculation for the message of the email.

I'd like to email something like this:

Contact #??? 50777

---------------------

Information:

---------------------

Name: Scott Bobcat

Address: 72 Marietta Street NW

Phone: 322-526-5673

Email: [email protected]

My calculation looks like this:

"Contact #: " & " " & contact ID &

Posted

thanks for the reply...

can I loop within a calculation? I'm not sure how to do that.

If I looped in the script (outside of the Send Mail script step) it would send individual emails for each record - not good.

Posted

You'll need to create a single email body part with all the information you want to display included. To do this you can create a global text field and loop through all the records in your found set concatenating each calculated field with your global field. This is subject to the maximum number of characters allowed in the global field (64K in FM6, 2G in FM7).

-bd

This topic is 7358 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.