Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#7787 closed enhancement (fixed)

attachment support for wp_mail

Reported by: AaronCampbell Owned by: westi
Milestone: 2.7 Priority: normal
Severity: normal Version:
Component: General Keywords: has-patch needs-testing
Focuses: Cc:


The phpmailer class supports attachments, so I don't see any reason why wp_mail shouldn't. It only take about 7 or 8 lines of code to add in support. It should be backward compatible too, since it just adds another optional parameter.

Attachments (1)

7787.001.diff (1.3 KB) - added by AaronCampbell 12 years ago.

Download all attachments as: .zip

Change History (4)

#1 @westi
12 years ago

  • Cc westi added


Once this has had some testing I will commit.

#2 @westi
12 years ago

  • Owner changed from anonymous to westi
  • Status changed from new to assigned

#3 @westi
12 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [9213]) Add attachment support to wp_mail. Fixes #7787 props AaronCampbell.

Note: See TracTickets for help on using tickets.