ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Send emails without revealing address

September 12, 2011 7:02am

Subscribe [3]
  • #1 / Sep 12, 2011 7:02am

    Jonathan Morgan

    51 posts

    Hi there,

    I’ve been puzzling over the best way to achieve the following, and wondered if anyone has advice?

    I’m designing my church’s website, and have a channel called People, which is for details of leaders and church staff.  One of the fields that I use in this channel is called people_email, and contains that person’s email address.

    I would really like to allow people to send emails to this person via the website (using a form with captcha), without them seeing his or her email address.

    I’m using a channel for these details (rather than the member module) because I want to be able to create relationships between particular pages, and particular people.

    I’d like to do this without hardcoding the email details, so that I can reuse the same templates (i.e. somehow parse the people_email contents to a form template)...

    Many thanks in advance!

  • #2 / Sep 12, 2011 10:33am

    Sue Crocker

    26054 posts

    Hi Jonathan Morgan,

    Would it be OK to use something like Freeform to do this? You can build out a form for each email address.

  • #3 / Sep 12, 2011 10:42am

    Jonathan Morgan

    51 posts

    Hi Sue,

    Thanks for your response.  If I took that approach, would I wrap the form in an {exp:channel:entries} tag in order to pass the email address across?

    Jonathan

  • #4 / Sep 12, 2011 11:34am

    Mark Bowen

    12637 posts

    Hi Jonathan,

    As there isn’t anything built in to ExpressionEngine that will allow you to create forms on the fly to send e-mails to a person and have their e-mail address obfuscated like you need here then a 3rd party solution is definitely going to be what you will have to use.

    Freeform is a fantastic add-on and the guys over at the Solspace Forums are really great with support.

    If you are looking into using Freeform then you would definitely be best posting your question over there for them to look at as they would have a much better idea about how to achieve something like that if it is indeed possible using Freeform.

    I’m going to move this post down to the Community Help forum though so that it doesn’t get closed and you may well get some more help from other users in there too.

    Thanks,

    Mark

  • #5 / Sep 12, 2011 11:38am

    Jonathan Morgan

    51 posts

    That’s great, thanks Mark.

    I’ll give the Solspace forums a go.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases