Questions tagged [email]

Questions about emails sent by Magento in general

0
votes
2answers
69 views

call phtml file in custom email template in magento2

I need to pass the phtml file into email template. but I'm getting error like Error Log : Error filtering template: Invalid template file: 'Vendor_Module::emailproducts.phtml' in module: '' ...
0
votes
1answer
63 views

Magento2.3:CSS inlining error: DOMXPath::query(): Invalid expression in selector >> body <<

CSS inlining error: DOMXPath::query(): Invalid expression in selector >> body << in /home/rcg40548/public_html/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 374 I also have used this ...
1
vote
1answer
33 views

M2 - Mass mailing reset password email

I want to send all the user the reset password email, we have over 6000 user so it can't be done by hand. I found this script from this website: <?php //place this before any script you ...
1
vote
0answers
62 views

how to call phtml file in email template in magento2

I need to pass the phtml file into email template. but I'm getting error like Error filtering template: Invalid template file: 'Vendor_Module::emailproducts.phtml' in module: '' block's name: '...
0
votes
1answer
30 views

Override SenderBuilder class to add Bcc when sending invoice

I didn't found an event when invoice email is sent, so i tried to override Magento\Sales\Model\Order\Email\SenderBuilder class, the override is working but getting the customer attribute invoice_email ...
0
votes
0answers
22 views

Get custom customer address attribute on email

I have a module with which I create my attribute. I can get it and show it in the admin panel, but not when the data is recibed on checkout process. This is my installer code: public function ...
0
votes
0answers
22 views

when creating trying to insert variable in email template I receive [object Object]

I'm experiencing an issue when trying to insert variables in email templates. Instead of receiving a list with variables I'm receiving [object Object] I'm using Magento 2.3 and I migrated from 1.7 ...
0
votes
0answers
16 views

how to add variant description into email

How can I add this part ( it is a variant of parent product which customer bought) Into a transation email. Right now I have only The basic name and the sku
2
votes
1answer
55 views

Disable email notification for specific customers

Please can any one help me on this, I would like to disable email notofication for customers, which have a flag non_email_customers set to true. I Have Try this way. i have created a plugin for: ...
1
vote
1answer
34 views

Attribute info in email

How can I add this part, it is a child attribute Into email, which is sent to customers? Unfortunately now I have only the name, and sku in the email
0
votes
1answer
21 views

Invoice mail not receiving after sending from back end without running cron job

Mail not getting triggered from back end in magento 2 after running cron job customer received the mail Please help me to fix this. After send email from back end customer should receive the mail.
0
votes
1answer
35 views

How to send an array of objects in email in magento 2?

I need a way to send an array of objects in email, So I can iterate those and create a table in email. I have tried creating email handle but no success. Any help is much appreciated! Thanks
1
vote
0answers
20 views

how to fix 5.5.2 Syntax error. m189sm22281031qkf.2 - gsmtp in magento 2 email [closed]

controller delete.php <?php namespace Webkul\Mpquotesystem\Controller\Adminhtml\Managequotes; use Magento\Backend\App\Action; use Webkul\Mpquotesystem; class Delete extends \Magento\Backend\...
0
votes
1answer
59 views

Credit Memo Subtotal Mismatch magento 2.2.8

I'm Trying To change Subtotal For The item In Credit Memo Email Product Price:- 4.99 I am creating a credit memo for 10 product but Subtotal is a mismatch The grand total is correct. how can I ...
1
vote
0answers
210 views

After upgrade to Magento 2.2.8 my transactional email is not working anymore

I just updated to Magento 2.2.8 and now my email is not working anymore, the message I get is: The message should be an instance of \Zend_Mail I tried the Mageside and Mageplaza module, also ...
1
vote
1answer
21 views

Magento 2 receiving email from www-data@ip-x-x-x-x.eu-west-1.compute.internal instead of website name

We are using AWS as a hosting company with magento 2. Magento 2 welcome email,order email etc... customer receiving email from www-data@ip-x-x-x-x.eu-west-1.compute.internal instead of "Website name"....
2
votes
1answer
85 views

Get admin detail via load by user_id in magento 2

username = 'admin'; $user_data = Mage::getModel('admin/user')->getCollection()->addFieldToFilter('username',$username)->getData(); var_dump($user_data); //By Username get admin User's Role ...
1
vote
1answer
42 views

Send email from my custom module

I have my custom module on Magento 2.3 and my custom module should send email from frontend. On this code, the module stops working $transportToStore = $this->transportBuilder ...
0
votes
0answers
140 views

Magento 2 Warning: DOMXPath::query(): Invalid expression in /vendor/magento/framework/Config/Dom.php on line 277

Please Help me, I checked other magento stackexchange answer but not getting actual answer. I am trying to send a email programatically then getting this error. I am using magento2.3 version i got ...
0
votes
1answer
32 views

Magento 1.9.2. - Validate email if already exist with ajax without custom module

Before registering I would like to validate the email field entered by the user to know if it exists in the database. This is my code: <input type="text" name="emailreg" value="" id="emailPreReg" ...
1
vote
1answer
56 views

2.2.6 - Email address is now required. Why?

Create New Order -> Create New Customer -> Email field is now required. Why has this been implemented and why is it not noted on the Release Notes for 2.2.6? How do I make it a non-required field ...
0
votes
0answers
26 views

Magento 2.3.0 incorrect Email From

When an order is placed in Magento 2.3 It is sending sales email from magemojo@domain.com instead it should send from info@domain.com as configured from backend. I tried applying the patch but it's ...
0
votes
1answer
119 views

Magento2: How to get guest email early in checkout?

I need to get the customer e-mail address in the checkout. I need it after the user went to Step 2 of the checkout (After he entered Address/before he can select his payment option). I tried: $quote-...
0
votes
0answers
19 views

Newsletter subscription confirmation email not sent

I added newsletter in my website when I test "subscribe to newsletter template" confirmation email template not sent.
1
vote
0answers
270 views

Email Sender name is not correct in all emails in Magento 2.3

After upgrading in Magento 2.3.1, Email sender name is not showing correct as configured in admin. If Email info@example.com is configured in admin then sender name is showing "info". How can I fix ...
0
votes
0answers
31 views

How to send subscribe email in a custom module in magento2.2.5?

I have created a custom module, need to send a newsletter subscription email to the consumer in magento2.2.5? Refer screenshot Any help would be appreciated.
0
votes
0answers
29 views

Stop sending contact form emails to consumer in magento2.2.5?

I want to Stop sending contact form emails to consumer in magento2.2.5? Any help would be appreciated.
0
votes
1answer
16 views

Magento 1: Email Marketing

I have a virtual store in magento and I want to know which is the best plug-in email marketing or platform that can be synchronized with magento 1, to do: an automatic email to send when the customer ...
1
vote
1answer
103 views

Magento 2 invoice email not sending

My customer complaint they do not receive the email order. So I have to manually send them the invoice from the admin account. What cloud be the issue?
1
vote
1answer
17 views

Incorrect behavior when sending email with use a block inside a template

When developing the module I encountered the following problem: inside the my controller (class Index extends \Magento\Framework\App\Action\Action) there is a method that calls a method to send email ...
0
votes
0answers
23 views

How to show image of the Product in custom email. Magento 2

I'm getting my custom data from email function and also I'm getting the Product image URL to show it in mail now I tried many ways to show my image in email but its not working for me my custom email ...
2
votes
0answers
41 views

How to show image in custom email. Magento 2

I'm getting my custom data from email function and also I'm getting the Product image URL to show it in mail now I tried many ways to show my image in email but its not working for me my custom email ...
1
vote
1answer
19 views

Add Order attribute to New Order Email

How do I add the value of an order attribute to the New Order Email template. Specifically an attribute called delivery_date stored in sales_order_grid. I tried to reverse engineer how {{var order....
0
votes
1answer
21 views

Get Product Attribute into Order Confirmation Email

I'm currently attempting to override the following file in order to add the color attribute to the Order Confirmation Email: vendor/magento/module-sales/view/frontend/templates/email/items/order/...
1
vote
0answers
23 views

How to send Product Image in Mail. Magento 2

I want to send the Product Image in email I'm getting the ID of the product from my custom table now from that ID how can I get the image of the product and send it in the email public function ...
0
votes
0answers
30 views

Blank Email Magento 2 - Order / Password

At my shop I have the problem that when someone creates a new order, the order confirmation (email) is simply displayed blank (white page). The email address is also not displayed correctly. If you ...
0
votes
1answer
33 views

Magento2 Event after Default Billing address change, How to send email if Billing address change?

I want to send an email to admin if the default billing address selection is changed or the values are changed by the customer. How can I achieve this?
0
votes
1answer
45 views

How to send welcome email when checkbox is checked in contact form in Magento2.2.5?

I want to send welcome email when a checkbox is checked in contact form in Magento2.2.5? Refer screenshot Any help would be appreciated.
1
vote
0answers
17 views

How to Append Comment When “Send Tracking Information” is Clicked

After an order is shipped with the tracking number another button appears "Send Tracking Information". If clicked it resends the tracking email to customer. But one doesn't get the checkbox to append ...
1
vote
0answers
75 views

How to move product.info.mailto block in custom layout file in magento 2?

In vendor file \magento226\vendor\magento\module-catalog\view\frontend\layout\catalog_product_view.xml I found <container name="product.info.extrahint" as="extrahint" label="Product View ...
2
votes
1answer
44 views

How to add field value as Email subject in Magent2.2.5?

I want to add field value as email subject in Magento2.2.5(Refer screenshot) Here subject field is a select field, if I select option-1 value, The selected value should be the subject for the email ...
1
vote
1answer
33 views

Magento 2.2.5 Emails are not receiving

I am using Magento 2.2.5. Order confirmation emails, Invoice emails and any of the custom emails are not receiving to the particular domain based email. Client has the server on go daddy VPS. Mails ...
1
vote
0answers
72 views

Magento 2 Send Admin Customer Registration Email

I'm trying to set up an observer that sends an email to the admin when a user registers on the website. I am following a tutorial but have hit a dead end. The observer is working correctly however I ...
0
votes
0answers
18 views

How to send 2 different email from a single action in magento 2

How can I send 2 different email with different template (one for client and second for admin) from a single action in magento 2
1
vote
2answers
94 views

Magento2 How to Integrate background image in my email template

I want to integrate a image in tag as background in style for my account creation email template. Where can I place this image in my folder and how can I call the image as background.
0
votes
0answers
23 views

How to share my cart via mail with others magento 2

I want to add the possibility of sharing a cart with others via mail so is their a solution for that please because i did not find any article that can help me in this
1
vote
2answers
113 views

Magento2 : Order Items Email Template Adjustment

I need to add align="right" in th(i.e Subtotal, Shipping & Handling, Grand Total) to align right on tfoot. I have found that its rendering from the below code under Magento_Sales/templates/email/...
0
votes
0answers
14 views

How Can Product Registrations from a web form, stored in magento, get pulled into an email?

Customers Register Product, serial number and date purchased on our website. The data is stored in Magento under customers>product registration. How can the submitted product registration data be ...
0
votes
2answers
115 views

How to add product link in order email magento 2

My order mail.phtml $_item = $block->getItem(); $_order = $_item->getOrder(); <tr> <td class="item-info<?php if ($block->getItemOptions()): ?> has-extra<?php endif; ?&...
4
votes
1answer
209 views

Magento 2.3.0 - SendGrid Email Delivery Module issue

I have installed "SendGrid Email Delivery" module on my magento (2.3.0 version) application. It installed successfully but when I tried to access it from admin panel to configure their settings after ...