From 715c0ed8f89933cb9ba92fa54a83fca758362d7f Mon Sep 17 00:00:00 2001 From: Baptiste Lafontaine Date: Mon, 11 Aug 2014 09:54:29 +0200 Subject: [PATCH] Changes foobar.net in example.com As recommanded by the RFC 2606, example.com(/net/org) should be used as they are reserved for this usage. --- book/service_container.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/service_container.rst b/book/service_container.rst index 41fc7f51d1a..e4334c3943f 100644 --- a/book/service_container.rst +++ b/book/service_container.rst @@ -82,7 +82,7 @@ you need it:: use Acme\HelloBundle\Mailer; $mailer = new Mailer('sendmail'); - $mailer->send('ryan@foobar.net', ...); + $mailer->send('ryan@example.com', ...); This is easy enough. The imaginary ``Mailer`` class allows you to configure the method used to deliver the email messages (e.g. ``sendmail``, ``smtp``, etc).