Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Laravel の開発時、メールのデバッグってどうやってますか?
Search
benzoh
February 13, 2024
Programming
1.1k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Laravel の開発時、メールのデバッグってどうやってますか?
2024/02/11 PHPカンファレンス2024 でLT登壇時のスライドです。
いろいろ失敗して全てお話しできませんでした🙇
詳しくは、
ブログ
でもご覧いただけます。
benzoh
February 13, 2024
Other Decks in Programming
See All in Programming
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
最近”作らせてる” ローカルAIアプリの話
akit37
0
440
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
380
Apple Intelligence を用いた個人情報誤送信防止、及びユーザーリクエスト体験の改善について
yukiny
0
330
半永久的に提供し続けられるプライベートクラウドを目指して ― 利用者の認知負荷を抑えるAPI抽象化とハードウェア世代交代の基盤設計
tomokon
0
480
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
Domain-Driven Transformation
hschwentner
2
2.3k
プロダクトコードからライブラリの境界を見つける
elmetal
PRO
0
110
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
580
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
110
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
250
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
150
Featured
See All Featured
AI Search: Where Are We & What Can We Do About It?
aleyda
0
8.1k
Automating Front-end Workflow
addyosmani
1369
210k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
530
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
770
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
GitHub's CSS Performance
jonrohan
1033
470k
The Language of Interfaces
destraynor
162
27k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.6k
BBQ
matthewcrist
90
10k
Between Models and Reality
mayunak
4
490
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Transcript
Laravel の開発で、 メール の デバッグって どうやってますか? 和田 充弘(@benzoh_w) 2024/2/11 PHPカンファレンス関西
2024
- 和田 充弘(わだ みつひろ) - 所属:BABYJOB株式会社 開発部 えんさがそっ♪開発課 - 漫画家を目指して約10年プラプラしたのちに
Web の仕事で生きていくと決めました - Java エンジニアの採用に「Java は書いたことな い」って応募したところ採用していただけました 🤖 自己紹介 @benzoh_w
📢 メールのデバッグってどうやってますか?
📢 メールのデバッグってどうやってますか? ダミーのメールサーバに送る?
📢 メールのデバッグってどうやってますか? ダミーのメールサーバに送る? MailCatcher や MailHog、Mailpit などのツール?
私たちは、Log に出してます。 👶
早速ですが Demo します。 💦 📩
と、その前に 🙇 実装当時を再現するため、 Laravel 9 環境でのお話となります
DEMO中 (まずは何もしていない状態で送信...)
(こうなりますが...)
DEMO中 (拡張したクラスをつかうと...)
(こうなります!)
💻 実装でどのようなことをしているか - ログドライバーを設定 - 環境変数 `MAIL_MAILER` に `log` を設定します
💻 実装でどのようなことをしているか - 環境変数 `MAIL_MAILER=log` の場合に - サービスプロバイダで `LogTransport` を
自前の実装クラスに差し替える - quoted-printable をデコードする処理を追加する
None
時間が足りないので...💦 https://zenn.dev/babyjob/articles/laravel-mail-debug
🙇 ご清聴ありがとうございました