Skip to content

Commit

Permalink
Merge pull request #1620 from krayin/imap-work
Browse files Browse the repository at this point in the history
feat: imap work and enhancement
  • Loading branch information
devansh-webkul authored Jan 17, 2025
2 parents 3b9e3f6 + 198d8d6 commit 1e463e2
Show file tree
Hide file tree
Showing 31 changed files with 1,308 additions and 393 deletions.
9 changes: 9 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,15 @@ [email protected]
MAIL_FROM_NAME="${APP_NAME}"
MAIL_DOMAIN=webkul.com

MAIL_RECEIVER_DRIVER=sendgrid

IMAP_HOST=imap.example.com
IMAP_PORT=993
IMAP_ENCRYPTION=ssl
IMAP_VALIDATE_CERT=true
IMAP_USERNAME=your_username
IMAP_PASSWORD=your_password

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
Expand Down
4 changes: 1 addition & 3 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule): void
{
// $schedule->command('inspire')->hourly();
$schedule->command('inbound-emails:process')->everyFiveMinutes();
}

/**
Expand All @@ -22,8 +22,6 @@ protected function commands(): void
{
$this->load(__DIR__.'/Commands');

$this->load(__DIR__.'/../../packages/Webkul/Core/src/Console/Commands');

require base_path('routes/console.php');
}
}
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"laravel/ui": "^4.5",
"maatwebsite/excel": "^3.1",
"mpdf/mpdf": "^8.2",
"prettus/l5-repository": "^2.7.9"
"prettus/l5-repository": "^2.7.9",
"webklex/laravel-imap": "^5.3"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.6",
Expand Down
160 changes: 159 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1e463e2

Please sign in to comment.