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

email with text and multiple fields


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

Recommended Posts

  • Newbies
Posted

I'm trying to create a simple script that will generate a generic email and insert a few fields. the built in email function only allows me to insert one field.

I'm looking for something like:

------begin email body----

My Company Name

My Adress

(Contact Management::Address Type 1)

(Contact Management::Address Type 2)

(Contact Management::First Name) (Contact Management::Last Name)

Dear (Contact Management::Company),

Thank you for the phone call.

Sincerely,

myname

------end email body----

Thanks for any help/suggestions!

Posted

In the message body, you can have it be a calculation like this.

My Company Name & ¶ &

My Adress & ¶¶ &

(Contact Management::Address Type 1) & ¶ &

(Contact Management::Address Type 2) & ¶ &

(Contact Management::First Name) (Contact Management::Last Name)& ¶¶ &

"Dear" & (Contact Management::Company) & "," & ¶¶ &

"Thank you for the phone call." & ¶¶ &

"Sincerely," & ¶¶ &

myname

Posted

Can I add a question on? The calculation field worked great, but then it sends multiple emails to all in my found set. What if I want ONE email to go to each person, with only their specific info in it? But I need to send out to hundreds of people, so I don't want to do this individually.

Thanks!

Posted

Well if you want "specific" information to go to each recpient, then individual emails will have to be sent. However, if you had one 'Generic' email to send to multiple people, you could take a look at this thread.

I am not sure but the SMTPit plugin may possibly do it. I do not know for sure. http://www.cnsplug-ins.com

  • 1 month later...
Posted

What am I missing? I want to personalize my emails like:

Dear Anmälda Register::Namn,

You have now been registered for the bartender school Anmälda Register::Kursdatum

Best Regards.

Mats J.

Also the attachement that I check comes over the text, but I want it under the text. (My logotype)

Posted

The attachment is just an attachment, where it renders in the email body (if at all) depends on which email client the reader is using.

Posted (edited)

Ok so I have to use a container field for thr Logo and insert the Logotype in the body I guess.

What about the personlization problem. Any ideas?

Edited by Guest
Posted

Unfortunately, without a plug in you can't insert images into the body (sorry).. Re the personalization look at the thread John (mr_vodka) linked to.

Posted

Aouch,

That looks very complicated and not exactly as what I asked for (as I can see it.

If somebody could give me a small hint / kickstart how to write the code / message as I want it as above. Or if you know a easier tutorial for this matter.

Sorry for that :P

Posted (edited)

To be honest, if you're just wanting to send individual emails to each person, the option is quite obvious (see attached)

EDIT: My Bad...That will send the same message to everyone, what you want is something simple like

Go To Record [ First ]

Loop

Send Mail[Record Specific Details Here ; No Dialog]

Go To Record[ Next ; Exit After Last ]

End Loop

attentionhere.gif

Edited by Guest
Posted

I think maybe I did not explain what I want to do exactly. I have a Bartender school with courses at different dates.

I use File> Send Email and I want it to look like this:

Dear Henrik (Name inserted from the field "Name"),

Thank you for registering to the Bartender school 24/4 to 4/5 -2007 (Date inserted from the field "Date"

Best Regards,

Mats

Or I can send a non-personalized mail without Names and Dates. Which I can already do with no problem.

It's just getting the fields with i.e. Names and Dates included that is the problem.

I am missing where and how to use all the "" and () I think?? Do I have to make a calculation or a script? Or can I put the code straight in the "Message" box?

Posted

...

Go To Record [ First ]

Loop

Send Mail[Record Specific Details Here ; No Dialog]

Go To Record[ Next ; Exit After Last ]

End Loop

The Send Mail script step has to be set up for the "Current record" only, and the message has to be a calc (if you click on the right arrow near message)...

"Dear " & Table::FirstName & ",¶¶Thank you for registering to the Bartender school" & Table::StartDate & " to " & Table::EndDate & ".¶¶¶Best Regards,¶Mats"

Posted

Should be a simpler solution or a plugin. To complicated for me :(

I will just export the emails and use my Bulkmail program.

But thanks for trying to make me understand :)

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