#3862 closed defect (bug) (fixed)
phpmailer
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2 |
| Component: | Administration | Version: | 2.1.1 |
| Severity: | normal | Keywords: | mail smtp encoding wp_mail |
| Cc: | rob1n |
Description
Integrate phpmailer to gain smarter header encoding and the option of SMTP. We could setup phpmailer to use php's mai() by default and add a hook that would allow plugins to configure phpmailer for SMTP.
phpmailer will hopefully fix encoding issues like #209.
Attachments (1)
Change History (8)
Looks nice. Good news to me. Many people, include me, can't use PHP's mail() function on their virtual hosts.
I remember that PHPMailer doesn't support SSL connection so it can't connect Google SMTP server.
Patch looks good, +1 from me for including phpmailer. That way we don't have to deal with all that mail stuff in the core.
I found this thread on adding SSL support.
- Resolution set to fixed
- Status changed from new to closed
comment:6
robertaccettura — 6 years ago
Should note that phpMailer doesn't seem to handle 8bit emails with utf-8 encoded subjects very well. They seem to get truncated.
I've been looking over swiftmailer, but it is has dozens of files versus phpmailer's one file. If anyone wants to experiment with plugging swiftmailer into wp_mail(), let us know how it goes.
Use their php4 package rather than the php5 one.

class-phpmailer.php, class-smtp.php, new wp_mail()