If you want a simple contact form only sending an email to you contact mailbox, then you just have to add to your configuration file
ihqs_contact:
connectors:
email:
recipients: cont@ct.me
This doesn't work, produces the next error...
Whoops, looks like something went wrong.
1/1 ErrorException: Notice: Undefined index: contact in /var/www/vendor/bundles/IHQS/ContactBundle/DependencyInjection/IHQSContactExtension.php line 44
in /var/www/vendor/symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php line 65
at ErrorHandler->handle() in /var/www/vendor/bundles/IHQS/ContactBundle/DependencyInjection/IHQSContactExtension.php line 44
at IHQSContactExtension->load() in /var/www/vendor/symfony/src/Symfony/Component/DependencyInjection/Compiler/MergeExtensionConfigurationPass.php line 42
at MergeExtensionConfigurationPass->process() in /var/www/vendor/symfony/src/Symfony/Component/HttpKernel/DependencyInjection/MergeExtensionConfigurationPass.php line 39
at MergeExtensionConfigurationPass->process() in /var/www/vendor/symfony/src/Symfony/Component/DependencyInjection/Compiler/Compiler.php line 119
at Compiler->compile() in /var/www/vendor/symfony/src/Symfony/Component/DependencyInjection/ContainerBuilder.php line 437
at ContainerBuilder->compile() in /var/www/app/bootstrap.php.cache line 868
at Kernel->buildContainer() in /var/www/app/bootstrap.php.cache line 779
at Kernel->initializeContainer() in /var/www/app/bootstrap.php.cache line 513
at Kernel->boot() in /var/www/app/bootstrap.php.cache line 544
at Kernel->handle() in /var/www/html/app_dev.php line 33
However if i use the extended version of the config this error does not happen.
If you want a simple contact form only sending an email to you contact mailbox, then you just have to add to your configuration file
ihqs_contact:
connectors:
email:
recipients: cont@ct.me
This doesn't work, produces the next error...
Whoops, looks like something went wrong.
1/1 ErrorException: Notice: Undefined index: contact in /var/www/vendor/bundles/IHQS/ContactBundle/DependencyInjection/IHQSContactExtension.php line 44
However if i use the extended version of the config this error does not happen.