Form: Settings for sender-adress and subject

Permalink 1 user found helpful
Hi,
I'd like to set the value of the "email"-field as the sender-adress. And I'd like to change the subject to something else then the default value (in german: "Kontakt Formular Beiträge").

If this is not working in a simple way, I just would like to edit the default sender adress, I set during the installation ([email protected]). Where can I edit this?

That's it. Sounds pretty simple, but don't have no clue how to deal with.

Thank a lot
Karsten

View Replies:
msglueck replied on at Permalink Reply
msglueck
it's the email address of the admin user. Just go to "Users and Groups" and edit the admin user.

Alternatively you can set the mail address used for form submits in /config/app.php by adding:
define('FORM_BLOCK_SENDER_EMAIL', '[email protected]');

Cu
Markus
abra100pro replied on at Permalink Reply
abra100pro
The second solution would be much better in my case, since I am the admin/webmaster and my customer is an administrator (so he may not change essential settings and danger the website). Nevertheless he doesn't want to have emails being sent from me as sender.

But I didn't find it in your mentioned file but I found it in /concrete/blocks/form/controller.php

So I copied the form folder from the core to /block/form and entered your line
define('FORM_BLOCK_SENDER_EMAIL', '[email protected]');
right after the second line: defined('C5_EXECUTE') or die("Access Denied.");

and it works.