Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up an smtp server with empty user/pass results in an error #5108

Open
3 tasks done
svaningelgem opened this issue May 26, 2024 · 0 comments · Fixed by pelican-dev/panel#421
Open
3 tasks done
Labels
bug Something that's not working as it's intended to be.

Comments

@svaningelgem
Copy link

Current Behavior

Error:
Pterodactyl\Console\Commands\Environment\EmailSettingsCommand::escapeEnvironmentValue(): Argument #1 ($value) must be of type string, null given, called in /var/www_pterodactyl/app/Traits/Commands/EnvironmentWriterTrait.php on line 38

Expected Behavior

No error & the .env file being updated

Steps to Reproduce

cp .env.example .env
php artisan p:environment:mail

Further: just enter through everything

php artisan p:environment:mail

 Which driver should be used for sending emails? [SMTP Server]:
  [smtp    ] SMTP Server
  [sendmail] sendmail Binary
  [mailgun ] Mailgun Transactional Email
  [mandrill] Mandrill Transactional Email
  [postmark] Postmark Transactional Email
 > smtp

 SMTP Host (e.g. smtp.gmail.com) [smtp.example.com]:
 >

 SMTP Port [25]:
 >

 SMTP Username []:
 >

 SMTP Password:
 >

 Encryption method to use [TLS]:
  [tls] TLS
  [ssl] SSL
  [   ] None
 >

 Email address emails should originate from [[email protected]]:
 >

 Name that emails should appear from [Pterodactyl Panel]:
 >

Panel Version

v1.11.7

Wings Version

not applicable

Games and/or Eggs Affected

not applicable

Docker Image

not applicable

Error Logs

not applicable

Is there an existing issue for this?

  • I have searched the existing issues before opening this issue.
  • I have provided all relevant details, including the specific game and Docker images I am using if this issue is related to running a server.
  • I have checked in the Discord server and believe this is a bug with the software, and not a configuration issue with my specific system.
@svaningelgem svaningelgem added the not confirmed Report seems plausible but requires additional testing or 3rd part confirmation. label May 26, 2024
@danny6167 danny6167 added bug Something that's not working as it's intended to be. and removed not confirmed Report seems plausible but requires additional testing or 3rd part confirmation. labels May 28, 2024
RMartinOscar added a commit to RMartinOscar/panel that referenced this issue Jun 17, 2024
@danny6167 danny6167 reopened this Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that's not working as it's intended to be.
Projects
Status: 🆕 New
Development

Successfully merging a pull request may close this issue.

2 participants