Questions tagged [email-attachment]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
40 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
215 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
81 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
23 views

How to attach a generated file with Order Email in Magento 2.3.3

Here i am trying to attach a dynamic pdf file which is getting generated after the order with the order Email. What i want is whenever customer order something after his order a pdf file should be ...
0
votes
0answers
18 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
625 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\...
0
votes
1answer
315 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
29 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 ...