Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

email variable

Status
Not open for further replies.

yuchieh

MIS
Jul 21, 2000
178
US
We are using FM 6. Is there a way to insert fields/variables in the email body when using send mail script?

thanks
 
If you use a specific field for the mail body, yes.
Variables in FM 6, not as variables in FM 7/8.

In your textfield you can use merge fields or globals to concatenate the entire needed text.
 
I see I could select field, but then I wouldn't be able to enter other text.

I need to mix hard-coded text with a field, like this -

"The job #jobNumber# has been complete."

jobNumber is a field. How do I insert this field into the text?

Or did you mean I need to create a new field to combine email text and the field?

Thanks
 
You can make a new field 'mailBody' with a mix of hardcoded text and mergefields.

Something like:

Dear <<recipientName as mergefield>>,

The job <<jobNumber as mergefield>> has been complete.
 
got it. it does what I wanted, even though it's not a very efficient way.

I hope the email function works better in FM 8.

Thanks much for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top