corrected mailsettings in .env_production

This commit is contained in:
Torsten 2023-01-21 10:46:35 +01:00
parent 09868b366f
commit 7295166781
10 changed files with 4626 additions and 7 deletions

BIN
pfosten/.env.swp Normal file

Binary file not shown.

View file

@ -1,6 +1,6 @@
APP_NAME=Laravel APP_NAME="Hoschis Tippspiel"
APP_ENV=local APP_ENV=local
APP_KEY=base64:kDZstIrXoxXzGa2reMEbvFjDhcaoJ4eKupyPnPL7euE= APP_KEY=base64:1+1OyIuQj0id5SH2kBWdQoCDdmEqwGGHxkqtfJPLA00=
APP_DEBUG=true APP_DEBUG=true
APP_LOG_LEVEL=debug APP_LOG_LEVEL=debug
APP_URL=http://hoschis-tippspiel.de APP_URL=http://hoschis-tippspiel.de
@ -21,11 +21,13 @@ REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null REDIS_PASSWORD=null
REDIS_PORT=6379 REDIS_PORT=6379
MAIL_DRIVER=smtp MAIL_DRIVER=sendmail
MAIL_HOST=w0172dd3.kasserver.com MAIL_HOST=w0172dd3.kasserver.com
MAIL_PORT=110 MAIL_PORT=25
MAIL_USERNAME=info@hoschis-tippspiel.de MAIL_USERNAME=info@hoschis-tippspiel.de
MAIL_PASSWORD=lassunstippen!1 MAIL_PASSWORD=lassunstippen!1
MAIL_FROM_NAME="Tippspiel Info"
MAIL_FROM_ADDRESS=info@hoschis-tippspiel.de
MAIL_ENCRYPTION=null MAIL_ENCRYPTION=null
PUSHER_APP_ID= PUSHER_APP_ID=

View file

@ -187,7 +187,8 @@ class RoundmailController extends Controller
$r->mail_message = str_replace("\r","",str_replace("\n","<br/>", request('message'))); $r->mail_message = str_replace("\r","",str_replace("\n","<br/>", request('message')));
Log::info("Recipients:"); Log::info("Recipients:");
Log::info($r->recipients); Log::info($r->recipients);
\Mail::to(explode(",",$r->recipients))->send($r);
\Mail::to(explode(",",$r->recipients))->send($r);
// Die hier ist nur für die DB // Die hier ist nur für die DB
$rm = new RoundMail(); $rm = new RoundMail();

View file

@ -48,6 +48,7 @@
] ]
}, },
"config": { "config": {
"platform-check":"false",
"preferred-install": "dist", "preferred-install": "dist",
"sort-packages": true, "sort-packages": true,
"optimize-autoloader": false, "optimize-autoloader": false,

View file

@ -16,8 +16,8 @@ return [
| |
*/ */
//'driver' => env('MAIL_DRIVER', 'smtp'), 'driver' => env('MAIL_DRIVER', 'smtp'),
'driver' => env('MAIL_DRIVER', 'log'), //'driver' => env('MAIL_DRIVER', 'log'),

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
tools/restore_local.sh Normal file
View file

@ -0,0 +1 @@
mysql -h localhost -P 3306 --password=pf_password --protocol=tcp -u root