Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5b8e84d

Browse files
committed
consistency, replace "e-mail" with "email"
1 parent387ebc0 commit5b8e84d

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 afunctional Test
4+
How to Test that an Email is Sent in aFunctional Test
55
======================================================
66

7-
Sendinge-mails with Symfony is pretty straightforward thanks to the
7+
Sendingemails 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 ane-mail::
13+
Start with an easy controller action that sends anemail::
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 ane-mail was sent
52+
// Check that anemail was sent
5353
$this->assertEquals(1, $mailCollector->getMessageCount());
5454

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

58-
// Assertinge-mail data
58+
// Assertingemail data
5959
$this->assertInstanceOf('Swift_Message', $message);
6060
$this->assertEquals('Hello Email', $message->getSubject());
6161
$this->assertEquals('send@example.com', 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 ane-mail, it's been designed to accept a ``Swift_Mailer``
54+
Since the class sends anemail, 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)

[8]ページ先頭

©2009-2025 Movatter.jp