Add contact form with spam protection
Add social media links to contact page Move history content to dedicated page Add SMTP configuration file Update frontpage link styling
This commit is contained in:
parent
b3cefcdc57
commit
c013c2cde3
9 changed files with 403 additions and 17 deletions
19
custom/smtp-config.php.example
Normal file
19
custom/smtp-config.php.example
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
/**
|
||||
* SMTP Configuration for PHPMailer.Lite
|
||||
*
|
||||
* Fill in your SMTP settings here.
|
||||
* This file should be added to .gitignore to keep credentials private.
|
||||
*/
|
||||
|
||||
return [
|
||||
'enabled' => false, // Set to true when you have SMTP configured
|
||||
'host' => 'smtp.example.com', // Your SMTP server
|
||||
'port' => 587, // Common ports: 587 (TLS), 465 (SSL), 25 (unsecured)
|
||||
'username' => 'your-email@example.com', // SMTP username
|
||||
'password' => 'your-password', // SMTP password
|
||||
'from_email' => 'kontaktskjema@stopplidelsen.no',
|
||||
'from_name' => 'Stopp Lidelsen Kontaktskjema',
|
||||
'to_email' => 'kontakt@stopplidelsen.no',
|
||||
'to_name' => 'Stopp Lidelsen',
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue