Email Module - how to do mail merge [SOLVED]

A place for users and developers of the Xataface to discuss and receive support.

Email Module - how to do mail merge [SOLVED]

Postby tomhousley » Thu Oct 28, 2010 2:12 pm

Hello,

Installed the Email 0.1 Module succedfully.

I would like to be able create a 'mail merge' when I send out emails.

So, say I have a column in my 'email_table' called ema_firstname I would like to have each email sent out like:

Code: Select all
Dear Steve.....


Other mailing list software I have used, this is done by eg. putting the field in curly braces, and then this is parsed when it comes to sending. Eg.

Code: Select all
Dear {ema_firstname}.....


Is this built in? I can't find any reference as to how to do 'out of the box' so to speak. Does it have something to do with the 'Email Macro' select on the email form?

Thank you, Tom
Last edited by tomhousley on Fri Oct 29, 2010 4:43 am, edited 1 time in total.
tomhousley
 
Posts: 52
Joined: Thu Feb 26, 2009 1:02 am
Location: United Kingdom

Re: Email Module - how to do mail merge

Postby shannah » Thu Oct 28, 2010 8:46 pm

Yes. This is built in. You should be able to see what the macros look like using the email macro function in the pull-down above the message body field. I don't have any documentation about this, and I actually haven't even used this in production myself yet, even though it has been there from the beginning. Let me know how it goes.

-Steve
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Email Module - how to do mail merge

Postby tomhousley » Fri Oct 29, 2010 12:39 am

Hi Steve,

I thought it would have something to do with the 'Email Macro' pulldown.

However, whatever I do with the pulldown, nothing happens.... It lists the fields in 'email_table'... I have tried most obvious things I can think of but like my earlier post.. if I type into the message field ema_firstname (where this field contains firstname of recipient):
Code: Select all
ema_firstname
{ema_firstname}
etc...


When I receive the email, it is not converted into the first name, it comes through as it is typed above.

I would be really grateful for some pointers on this... Once I get my head around it, I will add it to the wiki, as I'm sure other could make use of this too.

Many thanks, Tom
tomhousley
 
Posts: 52
Joined: Thu Feb 26, 2009 1:02 am
Location: United Kingdom

Re: Email Module - how to do mail merge

Postby tomhousley » Fri Oct 29, 2010 4:41 am

Sorted it... added it to the Wiki... http://xataface.com/wiki/Email#toc17
tomhousley
 
Posts: 52
Joined: Thu Feb 26, 2009 1:02 am
Location: United Kingdom


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 21 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved