File tree 1 file changed +12
-5
lines changed
1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -55,10 +55,17 @@ swiftmailer with the memory option, use the following configuration:
55
55
'spool' => array('type' => 'memory')
56
56
));
57
57
58
- Spool Using a File
58
+ .. _spool-using-a-file :
59
+
60
+ Spool Using Files
59
61
------------------
60
62
61
- In order to use the spool with a file, use the following configuration:
63
+ When you use the filesystem for spooling, Symfony creates a folder in the given
64
+ path for each mail service (e.g. "default" for the default service). This folder
65
+ will contain files for each email in the spool. So make sure this directory is
66
+ writable by Symfony (or your webserver/php)!
67
+
68
+ In order to use the spool with files, use the following configuration:
62
69
63
70
.. configuration-block ::
64
71
@@ -69,7 +76,7 @@ In order to use the spool with a file, use the following configuration:
69
76
# ...
70
77
spool :
71
78
type : file
72
- path : /path/to/spool
79
+ path : /path/to/spooldir
73
80
74
81
.. code-block :: xml
75
82
@@ -84,7 +91,7 @@ In order to use the spool with a file, use the following configuration:
84
91
<swiftmailer : config >
85
92
<swiftmailer : spool
86
93
type =" file"
87
- path =" /path/to/spool "
94
+ path =" /path/to/spooldir "
88
95
/>
89
96
</swiftmailer : config >
90
97
</container >
@@ -97,7 +104,7 @@ In order to use the spool with a file, use the following configuration:
97
104
98
105
'spool' => array(
99
106
'type' => 'file',
100
- 'path' => '/path/to/spool ',
107
+ 'path' => '/path/to/spooldir ',
101
108
),
102
109
));
103
110
You can’t perform that action at this time.
0 commit comments