@@ -12,10 +12,14 @@ option. If setting up and maintaining your own reliable mail server causes
12
12
you a headache there's a simple solution: Leverage the cloud to send your
13
13
emails.
14
14
15
- The following example shows how easy it is to integrate
16
- `Amazon's Simple Email Services (SES)`_ into Symfony. But no matter what
17
- service you're actually using, there's nothing more to it than configuring an
18
- SMTP endpoint for Swift Mailer.
15
+ This cookbook shows how easy it is to integrate
16
+ `Amazon's Simple Email Service (SES)`_ into Symfony.
17
+
18
+ .. note::
19
+
20
+ You can use the same technique for other mail services, as most of the
21
+ time there is nothing more to it than configuring an SMTP endpoint for
22
+ Swift Mailer.
19
23
20
24
In the Symfony configuration, change the Swift Mailer settings ``transport``,
21
25
``host ``, ``port `` and ``encryption `` according to the information provided in
@@ -52,7 +56,8 @@ and complete the configuration with the provided ``username`` and ``password``:
52
56
port =" 465"
53
57
encryption =" tls"
54
58
username =" AWS_ACCESS_KEY"
55
- password =" AWS_SECRET_KEY" />
59
+ password =" AWS_SECRET_KEY"
60
+ />
56
61
</container >
57
62
58
63
.. code-block :: php
@@ -108,6 +113,6 @@ And that's it, you're ready to start sending emails through the cloud!
108
113
109
114
* SES may be subject to a charge.
110
115
111
- .. _`Amazon's Simple Email Services (SES)` : http://aws.amazon.com/ses
116
+ .. _`Amazon's Simple Email Service (SES)` : http://aws.amazon.com/ses
112
117
.. _`SES console` : https://console.aws.amazon.com/ses
113
118
.. _`Amazon Web Services (AWS)` : http://aws.amazon.com
0 commit comments