WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

Last modified 5 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:

Description

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 6 years ago.

Download all attachments as: .zip

Change History (4)

AaronCampbell6 years ago

comment:1 westi6 years ago

  • Cc westi added

+1

Once this has had some testing I will commit.

comment:2 westi6 years ago

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

comment:3 westi6 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.