1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【備忘録】Laravelをhetemlにのせてメールを送る設定。

Last updated at Posted at 2018-01-21

#envの設定
やりかたはいろいろあると思いますが。

MAIL_DRIVER=smtp
MAIL_HOST=smtp.hetemail.jp
MAIL_PORT=465
MAIL_USERNAME={hetemailのID}
MAIL_PASSWORD={hetemailのPW}
MAIL_ENCRYPTION=ssl
MAIL_FROM_ADDRESS=送信アドレス
MAIL_FROM_NAME=送信者

tslで、どうしてもメールが送れず。
sslでポートを変えたらうまくいきました。

hetemlからtslで送れるやりかた、
知ってたら教えてください。

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?