Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#961 2011-02-28 23:05:35

chume
Member
Registered: 2009-12-03
Posts: 27

Re: zem_contact_reborn 4.0.3.20

How could I use zem_contact to send email to multiple recipients from a database? I have searched this forum without luck.
I will appreciate any help that I can get.

<txp:zem_contact to=“emails_in _db (ign_db)”>

Offline

#962 2011-02-28 23:46:12

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

If you can write the code that returns the list of recipients as a comma-separated list, it’s really easy. Opening a new topic for that question may give you the answer faster than asking it here. Once you have the comma-separated list you can do:

<txp:zem_contact to='tags or code that returns a comma-separated list of email addresses'>

Offline

#963 2011-02-28 23:53:51

chume
Member
Registered: 2009-12-03
Posts: 27

Re: zem_contact_reborn 4.0.3.20

Thank you Ruud for the quick response.

I think I will follow your advice and open up another thread.

Offline

#964 2011-03-01 18:50:08

chume
Member
Registered: 2009-12-03
Posts: 27

Re: zem_contact_reborn 4.0.3.20

Hello Ruud,

Is there a way to hide the recipients from showing up in the zem_contact email?
Thank you.

Offline

#965 2011-03-01 23:35:01

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

@chume, not without hacking plugin code.

Offline

#966 2011-03-01 23:50:22

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: zem_contact_reborn 4.0.3.20

chume AFAIK zem_contact_reborn doesn’t support a bcc= instead of to=.

But maybe you should look for a newsletter plug-in or use a static workaround solution like a single group newsletter address to a specific newsletter software or a Google or Yahoo group.


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#967 2011-03-02 00:08:25

chume
Member
Registered: 2009-12-03
Posts: 27

Re: zem_contact_reborn 4.0.3.20

Thank you Ruud and Markus for the helpful hints.

Offline

#968 2011-03-02 12:04:17

aslsw66
Member
From: Canberra, Australia
Registered: 2004-08-04
Posts: 342
Website

Re: zem_contact_reborn 4.0.3.20

I’m planning to do just this. Extract a list of users (from ign_users) and then hack ZCR to allow for BCCs. I’m no coder, but doing some research it looks like it just needs an extra header.

But I haven’t started anything yet…

All of the other options look like overkill to me.

Offline

#969 2011-03-02 13:47:44

chume
Member
Registered: 2009-12-03
Posts: 27

Re: zem_contact_reborn 4.0.3.20

Hello Anura.
I have a function which retrieved emails from the ign_users_db and using the zcr, I was able to send email to everyone or to a filtered group. I will look into the BCCs aspect that you mentioned. If you need the function, please let me know.

Offline

#970 2011-03-03 04:07:22

sutivnn
New Member
Registered: 2011-03-03
Posts: 1

Re: zem_contact_reborn 4.0.3.20

Hi,

I am using the latest version of this plugin on a web project.
What I encounter is that in IE6 Window XP (SP2), after the message is send, the page remain at the ‘thank you’ page. Even if I click on the link back to the contact form, it stays the same until I cleared the cache manually.

This does not happen to other browsers and even IE7 on Vista works.
Could anyone share some thoughts on this and how can I make the cache work on IE6 because a large number of my potential visitors will still be relying on IE6 and most of them have not upgrade to Window Vista. I may not be possible to convince everyone to use FireFox either.

The scenario:
I use the template “Block Rocker” by Matthew Smith.
When a user click “SEND” in the contact form, the message is send and
A “Thank you” page is shown
When the user click “contact” again, the contact form shows.
<p>Cong ty <a href=“http://www.noithat190.net.vn”>noi that 190</a> va cong ty <a href=“http://www.noithat-fami.net”>noi that fami</a>deu ban hang <a href=“http://www.noithat-fami.net/ban-ghe-fami-khac.html”>Ban ghe fami</a></p>

However in IE6, no matter how many times you click the “contact” button,
the “Thank you” page remain….until you clear the cache….

Thank you

Last edited by sutivnn (2011-03-03 04:12:47)

Offline

#971 2011-03-09 20:49:14

MonkeyChap
New Member
Registered: 2007-01-03
Posts: 7

Re: zem_contact_reborn 4.0.3.20

Hello,

I’ve never been able to get Textpattern to send mails, so I’m not able to use this really useful plug-in. Is there any way to just store the e-mail addresses in the database for retrieval later ?

Ian

Offline

#972 2011-03-10 01:26:15

aslsw66
Member
From: Canberra, Australia
Registered: 2004-08-04
Posts: 342
Website

Re: zem_contact_reborn 4.0.3.20

You should be able to do this using mem_form to post HTML form contents to a custom table in the textpattern database.

And then you can use smd_query to extract that information eg. a list to display on the screen, export a list to a CSV file etc.

Last edited by aslsw66 (2011-03-10 11:20:12)

Offline

Board footer

Powered by FluxBB