1
- Nette Mail: Sending E-mails
2
- ===========================
1
+ [ ![ Nette Mail] ( https://github.com/nette/mail/assets/194960/ffcaf756-f36d-4a47-8f6c-539b5f139c90 )] ( https://doc.nette.org/en/mail )
3
2
4
3
[ ![ Downloads this Month] ( https://img.shields.io/packagist/dm/nette/mail.svg )] ( https://packagist.org/packages/nette/mail )
5
4
[ ![ Tests] ( https://github.com/nette/mail/workflows/Tests/badge.svg?branch=master )] ( https://github.com/nette/mail/actions )
6
5
[ ![ Coverage Status] ( https://coveralls.io/repos/github/nette/mail/badge.svg?branch=master )] ( https://coveralls.io/github/nette/mail?branch=master )
7
6
[ ![ Latest Stable Version] ( https://poser.pugx.org/nette/mail/v/stable )] ( https://github.com/nette/mail/releases )
8
7
[ ![ License] ( https://img.shields.io/badge/license-New%20BSD-blue.svg )] ( https://github.com/nette/mail/blob/master/license.md )
9
8
9
+ <!-- -->
10
+
10
11
11
12
Introduction
12
13
------------
13
14
14
15
Are you going to send emails such as newsletters or order confirmations? Nette Framework provides the necessary tools with a very nice API.
15
16
16
- Documentation can be found on the [ website] ( https://doc.nette.org/mailing ) .
17
+ Documentation can be found on the [ website] ( https://doc.nette.org/en/mail ) .
18
+
19
+ <!-- -->
17
20
18
21
19
22
[ Support Me] ( https://github.com/sponsors/dg )
@@ -25,6 +28,8 @@ Do you like Nette Mail? Are you looking forward to the new features?
25
28
26
29
Thank you!
27
30
31
+ <!-- -->
32
+
28
33
29
34
Installation
30
35
------------
@@ -35,6 +40,8 @@ composer require nette/mail
35
40
36
41
It requires PHP version 8.0 and supports PHP up to 8.3.
37
42
43
+ <!-- -->
44
+
38
45
39
46
Creating Emails
40
47
===============
@@ -146,6 +153,7 @@ File `email.latte`:
146
153
147
154
Nette automatically inserts all images, sets the subject according to the ` <title> ` element, and generates text alternative for HTML body.
148
155
156
+ <!-- -->
149
157
150
158
151
159
Sending Emails
@@ -209,6 +217,8 @@ $mailer->send($mail);
209
217
Other parameters in the constructor include the number of repeat and waiting time in milliseconds.
210
218
211
219
220
+ <!-- -->
221
+
212
222
DKIM
213
223
====
214
224
0 commit comments