Title: Using AddEmbeddedImage() with the plugin
Last modified: August 9, 2024

---

# Using AddEmbeddedImage() with the plugin

 *  Resolved [wp_user1](https://wordpress.org/support/users/wp_user1/)
 * (@wp_user1)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/using-addembeddedimage-with-the-plugin/)
 * Hey, we embed images via AddEmbeddedImage function with phpmailer via functions.
   php.
 * That works fine, but stops working when activating your plugin. Any ideas why
   it does not work in combination?
 * We used “WP Mail SMTP” before, there it works fine.
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [M Aqib Khan](https://wordpress.org/support/users/aqibkhan9/)
 * (@aqibkhan9)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/using-addembeddedimage-with-the-plugin/#post-17943205)
 * Hello [@wp_user1](https://wordpress.org/support/users/wp_user1/)
 * Hope this finds you well.
 * We would like to inform you that Post SMTP offers two mailer options: **PostSMTP**
   and **PHPMailer**.
    - For the **PostSMTP** mailer, you can attach files using a filter. Please refer
      to this [link ](https://developer.wordpress.org/reference/hooks/wp_mail/)for
      more details.
    - For **PHPMailer**, you can send attachments using the code you provided.
 * By selecting the appropriate mailer and applying the corresponding methods, you
   should be able to achieve the functionality you need.
 * If you have any further questions or concerns, please feel free to reach out 
   to us.
 * Thanks and regards,
   Support Team – WP Experts
 *  Plugin Support [M Aqib Khan](https://wordpress.org/support/users/aqibkhan9/)
 * (@aqibkhan9)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/using-addembeddedimage-with-the-plugin/#post-17949685)
 * Hello [@wp_user1](https://wordpress.org/support/users/wp_user1/) ,
 * We hope this message finds you well.
 * We are reaching out to follow up on our previous communication, as we haven’t
   received a response from you. We hope everything is going smoothly on your end.
 * Please do not hesitate to contact us if you have any questions or concerns. We
   are here to assist you.
 * Thank you and best regards,
 * Support Team
   WP Experts
 *  Plugin Support [M Aqib Khan](https://wordpress.org/support/users/aqibkhan9/)
 * (@aqibkhan9)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/using-addembeddedimage-with-the-plugin/#post-17963623)
 * Hello @wp_user1 ,
 * We are marking this thread as resolved due to inactivity. If you encounter any
   further issues, please feel free to open a new thread.
 * Have a great day!
 * Thanks and regards,
   Support Team – WP Experts

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Using AddEmbeddedImage() with the plugin’ is closed to new replies.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [M Aqib Khan](https://wordpress.org/support/users/aqibkhan9/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/using-addembeddedimage-with-the-plugin/#post-17963623)
 * Status: resolved