Form submission From field

Permalink
How can I change the from field in form submission emails that is sent?

In versions prior to 5.7 one could add a constant in config/site.php , but how is this done in 5.7?

 
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
Create a new file called concrete.php in your application/config directory, and alter the code below to your own email address.

<?php
return array(
    'email'             => array(
        'default' => array(
            'address' => 'concrete5-noreply@' . $_SERVER['SERVER_NAME'],
            'name'    => ''
        )
    ),
);


Whatever you set here will override the corresponding values in concrete/config/concrete.php
ivanskj replied on at Permalink Reply
Thank you for pointing me in the right direction, i needed to alter it a bit for the form block to use it:
<?php
return array(
    'email'             => array(
        'form_block' => array(
            'address' => 'concrete5-noreply@' . $_SERVER['SERVER_NAME'],
            'name'    => ''
        )
    )
);
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
Ah excellent, happy to be of service
ProjbyP replied on at Permalink Reply
ProjbyP
Did you alter it to use the email address of the person submitting the form? or just use the "no-reply" email option?

If the submitted form address, how was it done?
ProjbyP replied on at Permalink Reply
ProjbyP
Did you alter it to use the email address of the person submitting the form? or just use the "no-reply" email option?

If the submitted form address, how was it done?
invisiblestupid replied on at Permalink Reply
I'll have to give this a try. I just built a site for my parents' business. I'm the admin on the site so when a customer submits the form, my parents get an email from "me". That's silly. Why can't there be a "from" field in the options tab for this so we can change it to whatever we want? I'll try this and see if it helps.

Ideally, I would like the "from" to be the email address the customer enters into the form. That way when my parents get a submission, all they have to do is hit "reply" and send a response directly to the customer. I've already gotten a couple responses to inquiries I didn't send because "Reply" is what comes to mind when my parents want to reply to an email message. Does anyone know how to set the email submitted in the contact form as the from email?
ProjbyP replied on at Permalink Reply
ProjbyP
I would love this functionality too. In the past I have just purchased other form add-ons, but there is currently none available in the c5 Marketplace to purchase for 5.7 version.

Hmmm ...
mhawke replied on at Permalink Reply 1 Attachment
mhawke
You can. When you add an 'Email' field to a form, scroll down and you'll see a box to tell the form to use the visitor's email address as the 'reply to' address. See attached screenshot.
ProjbyP replied on at Permalink Reply
ProjbyP
Awesome! I didn't know that ... here's a great big thank you for that functionality.
invisiblestupid replied on at Permalink Reply
Thanks mhawke,
It's a good start towards a usable form. The reply to now works as advertised. However, I'm still struggling with a few things. The "from" email is still my email address (or the one defined in this thread) but it would be so nice for the "from" to also be the emailer's address. Or at the least, get the emailer's address into the subject line. The part I'm struggling with is my parent's business uses google apps. Google apps likes to lump together all emails from the same sender with the same subject line into one thread. My technologically challenged, aging parents will quickly lose track of inquiries if they're all lumped into the same thread with the same from and the same subject. Is there a way with this form to differentiate different inquiries from different people? I've worked with a few other CMSs over the years and they all had much more flexible free contact form plugins.
8Brian replied on at Permalink Reply
I'm on Concrete 5.6, and I don't have this option.

What's the easiest solution to this problem for me?
ProjbyP replied on at Permalink Reply
ProjbyP
I know that Advanced Forms does this. A few others but when I was browsing I didn't see any familiar forms other than that one.