/
swift_mailer_module.html
36 lines (31 loc) · 1.26 KB
/
swift_mailer_module.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
layout: default
navPage: docs
heading: Swift Mailer
breadcrumbs:
- User Documentation,/userdoc/
- Emails,/userdoc/emails
- Swift Mailer
prev: Displaying files,/userdoc/emails/displaying_files/
next: File Attachments,/userdoc/emails/file_attachments/
categories: userdoc,modules
tags: emails
---
{% include open_section.html nav='nav_userdoc_emails.html' selected='swift_mailer_module' %}
<p>
As mentioned earlier, the out-the-box mail functionality is just the PHP mail() function.
The benefit to using this function is that many servers have it pre-configured to
allow you to send emails very easily. The drawback is that the implementation of this
function differs greatly from server to server. This can sometimes leads to problems,
such as emails not being properly sent out but not provide any clues that it didn't in fact
work.
</p>
<p>
With this in mind, we created the <a href="{{site.baseurl}}/modules/swift_mailer/">Swift Mailer module</a>.
This module lets you override the default mail() function and send all emails via an SMTP email server.
</p>
<p>
For more information about the module, see the <a href="{{site.baseurl}}/modules/swift_mailer/">module's online
documentation</a>.
</p>
{% include close_section.html %}