Skip to content

Commit 5b8e84d

Browse files
committed
consistency, replace "e-mail" with "email"
1 parent 387ebc0 commit 5b8e84d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

cookbook/email/testing.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
.. index::
22
single: Emails; Testing
33

4-
How to Test that an Email is Sent in a functional Test
4+
How to Test that an Email is Sent in a Functional Test
55
======================================================
66

7-
Sending e-mails with Symfony is pretty straightforward thanks to the
7+
Sending emails with Symfony is pretty straightforward thanks to the
88
SwiftmailerBundle, which leverages the power of the `Swift Mailer`_ library.
99

1010
To functionally test that an email was sent, and even assert the email subject,
1111
content or any other headers, you can use :ref:`the Symfony Profiler <internals-profiler>`.
1212

13-
Start with an easy controller action that sends an e-mail::
13+
Start with an easy controller action that sends an email::
1414

1515
public function sendEmailAction($name)
1616
{
@@ -49,13 +49,13 @@ to get information about the messages send on the previous request::
4949

5050
$mailCollector = $client->getProfile()->getCollector('swiftmailer');
5151

52-
// Check that an e-mail was sent
52+
// Check that an email was sent
5353
$this->assertEquals(1, $mailCollector->getMessageCount());
5454

5555
$collectedMessages = $mailCollector->getMessages();
5656
$message = $collectedMessages[0];
5757

58-
// Asserting e-mail data
58+
// Asserting email data
5959
$this->assertInstanceOf('Swift_Message', $message);
6060
$this->assertEquals('Hello Email', $message->getSubject());
6161
$this->assertEquals('[email protected]', key($message->getFrom()));

cookbook/web_services/php_soap_extension.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ In this case, the SOAP service will allow the client to call a method called
5151
}
5252

5353
Next, you can train Symfony to be able to create an instance of this class.
54-
Since the class sends an e-mail, it's been designed to accept a ``Swift_Mailer``
54+
Since the class sends an email, it's been designed to accept a ``Swift_Mailer``
5555
instance. Using the Service Container, you can configure Symfony to construct
5656
a ``HelloService`` object properly:
5757

0 commit comments

Comments
 (0)