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

WordPress Trac noreply at wordpress.org
Tue Aug 26 17:13:53 UTC 2025


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

Comment (by TimothyBlynJacobs):

 I think this would need some inline docs talking about how to actually use
 embeds in your HTML. As is, you have to read the source to figure out what
 `cid` you should use.

 Should we allow providing a `cid` in the `embeds` parameter? Perhaps as
 the array key?

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


More information about the wp-trac mailing list