Forums

Chronoforms Email All Registered Users

Segellion 21 Sep, 2011
Hi there,

I was reading through the forums, but this topic seemed a bit dated and I couldn't get it to apply to my form. So i'll just post a new request.

I have a Chronoform that spits out a really nice HTML email to the specified user. But i'd like the data from the form to email all registered users. Is this possible? If so, how?

Thanks for any help.
GreyHead 22 Sep, 2011
Hi Segellion,

I've never really though about it but I guess that it is possible.

You'd need to write a custom script that (a) reads the #__users table to the names and emails of the Registered Users then (b) runs through a loop sending an email to each of them.

If you only have a few users (in the hundreds) this should be OK.

If you have a lot of users then you might time out the processor, or get flagged by your host for sending too many emails as a possible spammer. In that case it might be better to look at one of the Newsletter extensions like AcyMailer and see if it's possible to remotely trigger a mailing from there as they have got the mailing mechanism much better sorted out.

Bob
This topic is locked and no more replies can be posted.