Jérémy Decool 5/13/2019

Tester une connexion SMTP avec SwiftMailer

Read Original

Cet article explique comment implémenter un test de connexion SMTP dans une application utilisant le composant SwiftMailer. Il couvre le cas d'usage simple ainsi que le scénario plus complexe où un spool de mails (comme FileSpool) est utilisé, notamment dans Symfony, et comment adapter le test pour vérifier la couche de transport réelle.

Tester une connexion SMTP avec SwiftMailer

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

2
Designing Design Systems
TkDodo Dominik Dorfmeister 2 votes
4
Fragments Dec 11
Martin Fowler 1 votes
5
Adding Type Hints to my Blog
Daniel Feldroy 1 votes
6
Refactoring English: Month 12
Michael Lynch 1 votes
8
10
You Gotta Push If You Wanna Pull
Gunnar Morling 1 votes