Contact form email address

Permalink 3 users found helpful
Hi,

Does any one know how to edit the receiver email address in the contact form block,do I need to add a new user??? Hope someoneknows....


Richard

ardswebdesign
View Replies: View Best Answer
mesuva replied on at Permalink Reply
mesuva
If you mean how to set up where the form submission emails are sent, that's in the settings for the block.

If you mean how do you change the email address that the notification emails appear to come from, you need to add a line to /config/site.php

define('FORM_BLOCK_SENDER_EMAIL', [email protected]');


(obviously changing the email address in the line to be the from email address you want the emails to appears to come from)
jordanlev replied on at Permalink Best Answer Reply
jordanlev
@mesuva is totally right. Just to clarify, though, when he says "settings for the block", he means that you need to go to the page that the form block is on, edit the block (click on it while the page is in edit mode and choose "Edit" from the popup menu), then click the little tab over on the top-right of the popup window -- it's either called "Options" or "Settings" (can't remember exactly).
ardswebdesign replied on at Permalink Reply
ardswebdesign
Thats great thanks. Is there a way to edit the message the receiver gets I would like to editr "THERE HAS BEEN A SUBMISSION OF THE FORM CONTACT US ON THROUGH YOUR CONCRETE5 WEBSITE" And also remove the URL "to view all of this forms submissions"

Thanks

Richard
mesuva replied on at Permalink Reply
mesuva
Yes, copy the file 'block_form_submission.php' from the /concrete/mail folder into the top level /mail folder and then edit it to your liking.
ardswebdesign replied on at Permalink Reply
ardswebdesign
Thanks


Richard

N Ireland
kenton02 replied on at Permalink Reply
I know this is a very old post but ....

I edit the block with the mail form in it but I can't see anything in the top right except the X close window.

Thanks in advance
Kenton
kenton02 replied on at Permalink Reply
I know this is a very old post but ....

I edit the block with the mail form in it but I can't see anything in the top right except the X close window.

Thanks in advance
Kenton
pdcouto replied on at Permalink Reply
pdcouto
Just applied this and it still works. Thanks!
clarky0899 replied on at Permalink Reply
I have downloaded Concrete and i am trying to find the site.php. Could it be under another name? I have also tried to download again to see if it download right and still nothing any ideas?
mesuva replied on at Permalink Reply
mesuva
The site.php file is in the top level /config folder.

It's always called site.php and your site won't work without it.
droomltd replied on at Permalink Reply
Don't forget that the config/site.php file is created on the server during installation so isn't in the download. Once 'installed' you can download the file to your local machine, edit it, and re-upload it.