Ticket #3862 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

phpmailer

Reported by: ryan Assigned to: ryan
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

phpmailer.diff (84.8 kB) - added by ryan on 02/24/07 08:09:21.
class-phpmailer.php, class-smtp.php, new wp_mail()

Change History

02/24/07 08:09:21 changed by ryan

  • attachment phpmailer.diff added.

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

02/24/07 08:39:09 changed by yskin

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.

02/24/07 17:03:02 changed by rob1n

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.

02/24/07 17:03:26 changed by rob1n

  • cc set to rob1n.

02/24/07 20:46:03 changed by ryan

I found this thread on adding SSL support.

http://drupal.org/node/39138

02/25/07 20:23:27 changed by ryan

  • status changed from new to closed.
  • resolution set to fixed.

(In [4946]) Trying out phpmailer for wp_mail(). fixes #3862

03/10/07 21:26:32 changed by robertaccettura

Should note that phpMailer doesn't seem to handle 8bit emails with utf-8 encoded subjects very well. They seem to get truncated.

03/10/07 21:40:03 changed by ryan

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.

http://swiftmailer.org/

Use their php4 package rather than the php5 one.