Questions tagged [email-attachment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
15 views

Email Attachment not working in Magento 2.2.6

I am using Magento version 2.2.6 and trying to send custom email with attachment, but I am getting 500 error. I tried transportbuilder addattachment which is working in Magento 2.3.x and onwards. But ...
0
votes
0answers
99 views

How to attach file in email in magento 2.3.5-p2 laminas

i want to attach file in email magento 2.3.5-p2 now they removed Zend Framework now they are using laminas how i can attach file in email? in previous versions i have used this code to work with but ...
0
votes
2answers
54 views

Email Attachment not working in magento 2.3.4 contact us email

I'm using magento 2.3.4 i customized contact us magento 2 module(Magento_Contact) i want to Attach file in Email i followed this blog post https://meetanshi.com/blog/add-attachments-with-email-in-...
0
votes
2answers
149 views

Magento 2.2.11 - How to add attachment to an email, Call to undefined method Magento\Framework\Mail\Message\Interceptor::createAttachment() error

I have installed the pdf invoice Extension in Magento 2.2.11. I'm getting this error while placing the order, Call to undefined method Magento\Framework\Mail\Message\Interceptor::createAttachment() ...
0
votes
1answer
415 views

How add file to email message in Magento 2.3.5?

I'm trying to do so Create di.xml file at app/code/vendor/module/etc/ <preference for="\Magento\Framework\Mail\Template\TransportBuilder" type="Vendor\Module\Model\Mail\Template\TransportBuilder" ...
0
votes
1answer
102 views

Issue in sending attachment in Emails Magento2.3

I am trying to send attachments in the email. The following code is working fine but multiple attachments are sending even if send single attachment also. I have used below code. $attribute = $...
0
votes
0answers
19 views

How to add custom Email attachment with .html format

I have to add the email attachment. I have create a custom module public function execute() { $post = $this->getRequest()->getPostValue(); if (!$post) { $this->_redirect('/')...
4
votes
1answer
909 views

Magento 2 Order Email With This Content =0D=0A=0D=0A=0D=0A =0D=0A

When order confirmation send all content contain this =0D=0A=0D=0A=0D=0A =0D=0A Here is email screenshot: app\Vendor\Extension\etc\di.xml <preference for="\Magento\Sales\Model\Order\Email\...
1
vote
1answer
439 views

Correct way to add attachment to email in magento 2.3.3+

From the release of new version of magento 2 come with some changes in code base I can't add attachment to email anymore. My case used new TransportBuilder class extend from origin Magento\...
1
vote
1answer
56 views

Magento 1.9 : send multiple images as attachements in Email

I have implemented send email in single image file as attachment. but now i want to send multiple images as attchment in email.How can i acheive that? if anyone can help me. I have tried below code ...