Announcement

Collapse
No announcement yet.

How to add image attachment in the Email ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to add image attachment in the Email ?

    Hi,

    I have a sales pack extension with Email pdf option , i edited the code to update attachment type image , but the the content and preview of the image are not working , not sure how to do that.

    application\Espo\EntryPoints\Image.php

    application\Espo\Modules\Sales\Services\Quote.php

    For attaching pdf file they have a code like

    $contents = $this->getServiceFactory()->create('Pdf')->buildFromTemplate($quote, $template);

    Like wise is there any code to attach image file by id ?

    Let me know , Thanks in advance

    Last edited by manosingh; 09-03-2019, 10:17 AM.
Working...
X