[wp-trac] [WordPress Trac] #28059: Inline image attachments with wp_mail()

WordPress Trac noreply at wordpress.org
Mon Jun 30 17:18:02 UTC 2025


#28059: Inline image attachments with wp_mail()
-------------------------------------------------+-------------------------
 Reporter:  jesin                                |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:
Component:  Mail                                 |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:
  tests has-test-info needs-dev-note             |
-------------------------------------------------+-------------------------

Comment (by yashjawale):

 == Test Report
 === Description
 This report validates whether the indicated patch works as expected.

 Patch tested: https://github.com/WordPress/wordpress-
 develop/pull/9038.diff

 === Environment
 - WordPress: 6.8.1
 - PHP: 8.2.27
 - Server: nginx/1.26.1
 - Database: mysqli (Server: 8.0.35 / Client: mysqlnd 8.2.27)
 - Browser: Chrome 138.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.2
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0
   * WP Mail Embed Showcase 1.0.0 [SirLouen's testing plugin from
 comment:7]
   * WP Mail SMTP 4.5.0

 === Actual Results
 1.  ✅ Able to embed the following mimetypes:
 -  `image/svg+xml`
 -  `image/png`
 -  `image/jpeg`
 -  `image/gif`
 -  `video/mp4`
 -  `video/quicktime`
 -  `audio/mpeg`

 === Supplemental Artifacts

 **Before patch:**
 [[Image(https://files.catbox.moe/6bccrs.png)]]

 **After patch:**
 [[Image(https://files.catbox.moe/wul6zc.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/28059#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list