Configures email sending settings for the Pterodactyl game server management Panel via CLI options supporting SMTP, Mailgun, Mandrill, and Postmark drivers.
// Source: https://github.com/pterodactyl/panel | License: MIT | Copyright Dane Everitt <dane@daneeveritt.com> and contributors
// Provided via justclaw.it.com; keep this notice with the code.
<?php
namespace Pterodactyl\Console\Commands\Environment;
use Illuminate\Console\Command;
use Pterodactyl\Traits\Commands\EnvironmentWriterTrait;
use Illuminate\Contracts\Config\Repository as ConfigRepository;
class EmailSettingsCommand extends Command
{
use EnvironmentWriterTrait;
protected $description = 'Set or update the email sending configuration for the Panel.';
protected $signature = 'p:environment:mail
{--driver= : The mail driver to use.}
{--email= : Email address that messages from the Panel will originate from.}
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key