plain-solutions-gmbh / kirby-form-block-suite

This form plugin for Kirby offers you maximum flexibility and usability. It can be used as a block anywhere you needed. This repository replaces the obsolete version 2.0.
Other
38 stars 11 forks source link

From email address includes www. #5

Closed mactedder80 closed 1 year ago

mactedder80 commented 1 year ago

How do I change the default 'from email address?

Currently, emails sent from the forms come from 'noreply@www.mywebsite.com' - the www. part needs to be removed.

Also can the 'reply to address' and 'sent from address' be changed per form?

plain-solutions-gmbh commented 1 year ago

This can be set in you config file. Check this out! You can set it per form adding a custom message named from_email.

mactedder80 commented 1 year ago

Do I just put it in the 'site>config>config.php' file? ie:

return [
     'debug' => false,
     'smartypants' => true,
     'panel' =>[
       'install' => false
     ],

     'microman.formblock' => [
        'from_email' => 'info@example.com'
      ]
 ];
plain-solutions-gmbh commented 1 year ago

That looks good. That will set it for all forms. Is it not working as expected?

mactedder80 commented 1 year ago

Yes that works - Thanks.