Skip to content

Commit

Permalink
testing forwardEmail attachments fix 5
Browse files Browse the repository at this point in the history
  • Loading branch information
hrsa committed May 12, 2024
1 parent 132eab1 commit a8a444c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/Services/MailProcessingService.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ public function process(InboundEmail $message): void

public function forwardToAdmin(InboundEmail $email): void
{
ray($email)->green();
ray($email->id())->orange();
$forward = new ForwardEmail($email);
ray($forward)->red();
Mail::to(config('app.admin.email'))->send($forward);
$email->forward(config('app.admin.email'));
// ray($email)->green();
// ray($email->id())->orange();
// $forward = new ForwardEmail($email);
// ray($forward)->red();
// Mail::to(config('app.admin.email'))->send($forward);
}
}
1 change: 1 addition & 0 deletions docker/php-prod.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ RUN apt-get update && apt-get install -y \
jpegoptim optipng pngquant gifsicle \
unzip \
curl \
nano \
supervisor

RUN mkdir -p /usr/share/postgresql-common/pgdg && \
Expand Down

0 comments on commit a8a444c

Please sign in to comment.