TommyTran732 / Pterodactyl-Script

Installing Pterodactyl in just a few minutes!
Apache License 2.0
185 stars 56 forks source link

Mail system error #5

Closed keiney20 closed 4 years ago

keiney20 commented 4 years ago

Description: When some user invite another to their server, they don't get any email with the password of panel.

Current config:

 Which driver should be used for sending emails? [PHP's Internal Mail Function]:
  [smtp    ] SMTP Server
  [mail    ] PHP's Internal Mail Function
  [mailgun ] Mailgun Transactional Email
  [mandrill] Mandrill Transactional Email
  [postmark] Postmarkapp Transactional Email
  mail

 Email address emails should originate from [admin@servidoresgaming.com]:
  admin@servidoresgaming.com

 Name that emails should appear from [SG]:
  Servidores Gaming

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

Config .env:

APP_ENV=production
APP_DEBUG=false
APP_KEY=X
APP_THEME=pterodactyl
APP_TIMEZONE=Europe/Madrid
APP_CLEAR_TASKLOG=720
APP_DELETE_MINUTES=10
APP_ENVIRONMENT_ONLY=false
LOG_CHANNEL=daily
APP_LOCALE=en

DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=panel
DB_USERNAME=X
DB_PASSWORD=X

HASHIDS_SALT=X
HASHIDS_LENGTH=X

MAIL_DRIVER=mail
MAIL_HOST=mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=ssl
MAIL_FROM=admin@servidoresgaming.com

QUEUE_HIGH=high
QUEUE_STANDARD=standard
QUEUE_LOW=low
APP_SERVICE_AUTHOR=X
APP_URL=https://servidoresgaming.com
CACHE_DRIVER=redis
SESSION_DRIVER=database
QUEUE_CONNECTION=redis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
MAIL_FROM_NAME="Servidores Gaming"

Logs: http://bin.ptdl.co/ma9e3 https://hastebin.com/acahugoyor

TommyTran732 commented 4 years ago

Hi,

I have not had time to test this - I am having issues with my computer right now. I am not entirely sure if this is an issue with the script or the panel itself. That being said, using PHP Mail is not recommended. I would recommend using SMTP and an SMTP provider such as https://sendinblue.com for mailing.

Let me know if it works out for you.

Regards, Tom

TommyTran732 commented 4 years ago

I am closing this issue, since Pterodactyl v1.0 is out. Feel free to reopen it if you still have problems.