Hi fergusga1815,
the attachment is only shown if it was found in the uploads directory of WordPress in the passed path. That’s the only information I get from WordPress about the attachment of the mail before it is passed to the actual mail dispatcher implementation (phpmailer, smtp …). The path is logged in the database anyway.
So this works only for a subset of plugins that send media or previous uploaded files.
That’s a theoretical feature that came to my mind what I could do with this paths. But I don’t even a plugin that sends attachments this way. At least calling wp_mail with a proper attachment works, so there must be use cases.
Please let me know which plugin you use and what it tries to attach.
-
This reply was modified 9 years, 6 months ago by
No3x.
-
This reply was modified 9 years, 6 months ago by
No3x.
-
This reply was modified 9 years, 6 months ago by
No3x.
-
This reply was modified 9 years, 6 months ago by
No3x.