LoginSignup
0
0

mailCatcherにusernameとpasswordの設定は不要だった

Posted at

結論

mailCatherを使用するとき、hostとportさえ適切に設定していれば送信可能

今回ハマった件

下記4点に全て値を設定しなければ送信できないと考えていたが、usernameとpasswordの値が不明だった
1.host
2.port
3.username
4.password

注意点

gmail等、実際にメールを飛ばす際には必ずusernameとpasswordを設定する必要あり

(参考例)gmailを使用してメール送信を確認したい場合のpassword設定方法
https://support.google.com/accounts/answer/185833?visit_id=638006214502263872-3045639709&p=InvalidSecondFactor&rd=1

おわりに

今後は設定する値が不明な場合でもブランクでいいから試してみるのが大切

0
0
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
0
0