Questions tagged [email]

Questions about emails sent by Magento in general

Filter by
Sorted by
Tagged with
0 votes
2 answers
54 views

magento 2 email body is blank

when Magento sends emails (any email for any provider like Gmail, Hotmail), the emails are sent but with a blank body. the title and subject are visible but the body is empty is there anyone that has ...
1 vote
1 answer
5k views

Magento 2.3 Magento 2 Testing Email Sending But Order Confirmation Email Is Not Sending

I am using magaplaza SMTP extension and i configured it correctly, Test Email Working Fine But When I place an order the order confirmation email not sending. And the Email Logs Telling me that email ...
4 votes
2 answers
3k views

Magento 2: Transportbuilder sending empty mails

I'm trying to use the transportbuilder to send an custom email in my module. I succeed in sending an email, but the body is always empty. This is my email_templates.xml (placed in view/frontend/email/...
0 votes
1 answer
12 views

Get all email list of website. M2

I want all email list like order email, forgot password email, create account email, newsletter, shipment email, invoice email, refund email, other third party emails etc..... How can i get all email ...
0 votes
1 answer
810 views

How do I send a email from the cron job? Magento 2 Unable to send mail

I did create a cron job with custom sql query. It will send an email notification to our support email. Can someone tell me what's wrong my email coding, from the log it said I am unable to send mail?...
0 votes
1 answer
41 views

Magento 2 : UTM params are not passed in the checkout/cart URL In Abandoned Cart Email button

I am using the Magento 2.3.6 instance for my live website. I've used Mirasvit's Follow Up Email for Magento 2 extension to send Abandoned cart emails to my customers. My store sends Abandoned cart ...
0 votes
1 answer
26 views

Email load custom php with variable strict mode - Magento 2

Since Magento 2.3.4 email variable usage was deprecated. See: https://devdocs.magento.com/guides/v2.4/frontend-dev-guide/templates/template-email-migration.html But we are using a email variable to ...
0 votes
1 answer
3k views

Magento 2: SMTP Email gives error "Could not open socket"

Using Magento 2 Version 2.1.0 on WAMP Windows 10 As continue with this question Magento 2: SMTP Email gives error "Invalid sender data" Now this is my code $storeScope = \Magento\...
0 votes
0 answers
3 views

Magento 2.4 - Sending email for order collection

I have atm one email that will notify the customer when the order has been packed and shipped. But how can we create an email that is sent when the order is ready for pickup? How can we separate these ...
1 vote
2 answers
4k views

Magento 2 : Add extra text field in checkout billing address and save it in order

I want to add one extra text field in checkout billing form and also save that field data in order so I can show that field data in admin order view and also in order email. I already tried to add in ...
2 votes
4 answers
3k views

How to create custom phtml to PDF and attach in email at admin in Magento 2?

I am already created Custom email from admin panel with attachment of sample pdf file, But now i want to create .phtml file to .pdf file & which is attach in my custom email.
1 vote
0 answers
43 views

Why I don't receive email from customer form? (Magento 2.4)

I've created a CMS page with a form where customers can submit some info & by clicking 'submit' Magento sends an email (with all the info provided into the form) to an address that I set by a ...
0 votes
2 answers
2k views

Magento 2 CSS inlining error

Getting following error in magento 2 email. CSS inlining error: Warning: DOMXPath::query(): Invalid expression in /home/patios/public_html/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 294 ...
3 votes
2 answers
2k views

Magento 2:- "Forgot your password?" issue from admin side

I try to change admin password by Forgot your password link but I did not get any email for Forgot password.
0 votes
0 answers
30 views

Email css not processed

At header template is: <style type="text/css"> {{var template_styles|raw}} {{css file="css/email.css"}} </style> At email html is content of ...
1 vote
3 answers
7k views

Override new order email in magento 2

I have a custom module that needs to overwrite the new order email template, the location for the default email template is vendor\magento\module-sales\view\frontendemail\order_new.html, and this file ...
1 vote
1 answer
1k views

Share Cart via Email in Magento 2

I'm currently building a store where I want a user to be able to share their cart with someone via email. So that say a child could send their cart to their parents who could open the link in the ...
3 votes
5 answers
2k views

Non-transactional emails are not being sent (email confirmation, welcome email, shipping)

I've looked at the core-email queue in the SQL database and only "new order" and "update order" are being sent in the queue for the CRON job. I've read somewhere that there might be an exception and ...
1 vote
3 answers
1k views

Magento 2 - Remove debug path hint from email template

I am sending order email from my custom module. Issue is in order email it showing debug path hint. Here is the code that i am using. public function sendEmail($orderdata, $order) { /*Send email*/...
1 vote
1 answer
1k views

How to send mail when get events in observer?

I create adminhtml/events.xml and frontend/events.html with code content: <?xml version="1.0" encoding="UTF-8"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
5 votes
3 answers
2k views

Magento 1 - Get email if cron is not working / cronjob fails

I was wondering if there is an option in Magento ver. 1.9.2.2 to get an email if cron is not running or more important if a cronjob fails. I didn't find any configuration in backend nor any ...
0 votes
1 answer
2k views

Zend_Mail_Protocol_Exception: Must issue a STARTTLS command first

I am running magento 1.9.1 website on AWS EC2 Ubuntu machine. Customer registration emails are going out but transnational emails are not going. I configure SMTP by AWS SES service with SMTP Pro ...
0 votes
1 answer
35 views

How to enable/disable welcome email from admin configuration in store basis

Hi I referred this solution for disabling welcome email and it works perfectly.however i want the around plugin to work only if its enabled from admin backend that too in store basis. I added etc/...
1 vote
1 answer
531 views

M 2.3.1: Imprint variables are not showing up in E-Mail templates

I have the following problem. I have populated the bank and imprint data as per Configuration -> General -> Imprint for all my store views under Magento 2.3.1 Now I am populating my e-mail ...
0 votes
1 answer
27 views

Automating Invoicing in Magento 1

essentially as the title states, I want to create automatic invoicing for orders in Magento 1. I've considered a few potential solutions to this which I'll go into below, but was hoping for some ...
0 votes
1 answer
1k views

How can i send an Confirmation email when Registered email id Was changed by customer?

In My account after login, the customer can change the registered email id.I want to send a confirmation mail to the customer whenever the email id is changed. Please let me know how I can achieve it. ...
3 votes
1 answer
1k views

M2 | sales email > customize price display > how to show only grand totals?

I'm trying to style Magento's transactional emails. I already managed it to edit and style the item display and included the item picture, but i haven't found a solution to only display the grandTotal ...
1 vote
1 answer
6k views

Magento 2, How to include unsubscribe link in transaction email

Is there a out-of-the-box way of including an unsubscribe link in transactional emails inside of Magento 2? I tried utilizing: <a href="{{var subscriber.getUnsubscriptionLink()}}"> {{var ...
0 votes
1 answer
21 views

Send order update email programatically?

I need to send the order status update email programatically, I tried with the class Magento\Sales\Model\Order\Email\Sender\OrderSender but it sends the order confirmation email, not the state update. ...
0 votes
0 answers
14 views

E-Mail Preview template cut Magento 2

When I create a transactional e-mail via Marketing --> E-Mail Templates and then click "Preview" my preview window is somehow being cut to a preview_iframe which only covers like 1/5th of ...
0 votes
0 answers
26 views

Warning: Cannot use a scalar value as an array in C:\xampp\htdocs\magento\vendor\magento\module-email\Model\AbstractTemplate.php

I get this error ho to solve it ? { $store = $this->storeManager->getStore($storeId); if (!isset($variables['store'])) { $variables['store'] = $store; } ...
3 votes
1 answer
1k views

Alert stock email not received

I've configured my Magento ver. 2.2.4 to send email to customers that have registered themselves for an stock alert when the product which is "out of stock" goes to be back in stock, but when I try to ...
0 votes
1 answer
35 views

How to generate Multi-Language invoice and email

I have a multi-language store and I need to generate my invoice in 2 different languages in a PDF and the invoice email should also have both the languages. How can I do that.
0 votes
1 answer
58 views

Contact form not submitting. Just refreshing. No errors...nothing

Sorry if this a repeated topic, but everything I can find is out of date and not for my version. New issue in the very long line of issues...using Magento 2.3.2. CE The contact form is not working ...
0 votes
2 answers
37 views

How to attach invoice pdf with invoice email

I want to attach invoice pdf with invoice email. I been looking at few links from stack exchange but I am not able to get anywhere with it. I know customers can download invoice from their account ...
2 votes
1 answer
205 views

Passing a model object to a phtml email template in 2.4.4

We have a module which sends emails to customers. To get the data in the email, we're passing it to an html template which then calls a phtml template to actually render the data, passing the data ...
1 vote
2 answers
1k views

Magento 2: Add BCC programmatically

I am using below code to add BCC: $transport = $this->_transportBuilder->setTemplateIdentifier($template) ->setTemplateOptions(['area' => 'frontend', 'store' => $store])...
11 votes
5 answers
20k views

How to solve the message "Character content other than whitespace"?

I've received that message below when I try to reset my admin password using the Admin panel, I've my custom module installed. I see this same message on a white screen when I try to access using the ...
0 votes
1 answer
4k views

Change order confirmation email text

On the generic order confirmation emails that are sent out after a customer places and order, how do I go in and changed the email address for customers with questions to contact us? Right now it's ...
0 votes
2 answers
204 views

Shared wishlist items in email not display images in Magento 2

When I share List product in my wishlist to Friend list, Everything ok, but Image can't render in the mails. The images are broken in the mails of the shared wishlist.
1 vote
1 answer
1k 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 is the issue?
0 votes
0 answers
7 views

Magento 1.9.x Add configurable product image in new order email

There are many threads that I didn't want to resurrect but none solve the problem, they work for the simple product image but not for the configurable one. Of the many, this one is the most valuable: ...
0 votes
2 answers
1k views

Magento 2 - How to use admin panel email template in my custom module?

I have created the custom module for customer registration request including an email function also. email function is working fine. I have customized the email template using Marketing -> ...
0 votes
0 answers
51 views

How to add pdf in mail in Magento 2.4

I need to add pdf with email. I followed some forums but nothing works. Here is my code.By my code only template variables are coming but pdf attached in the form is not coming in the mail. When i use ...
1 vote
2 answers
4k views

Notify for Quantity Below in Magento 2

I have a requirements to notify the admin through email when a product quantity goes below 5 in Magento 2.0.7. I have found that there is option on the admin: System > Configuration > Catalog > ...
4 votes
6 answers
13k views

Custom Email Template in Magento2

I'm trying to create a custom email template. I have loaded header and I want to start styling it. For example a simple red background color. Where do I need to add the style? <!DOCTYPE html ...
2 votes
1 answer
1k views

Magento emails are not going

I am working on MAGENTO 1.9.2.4 Emails are not going in it through zend mail and php mail function even testMail emails also are not going.I have then send mails through PHP Mailer and tested it,test ...
1 vote
5 answers
3k views

How to add backorder message to transactional emails

I want to add extra information in a transactional email when the order has a product which is backordered. I know where and how to edit the email templates following this guide: http://www....
0 votes
0 answers
12 views

Sales email instruction, allow HTML

I was able to allow html for instructions in the checkout, but how do I go about allowing them for email templates?
0 votes
2 answers
1k views

Custom email layout handle for custom module

I have created a custom module, In which I am sending email to customer. email is working fine but I have created a layout handle in layout/test.xml <?xml version="1.0"?> <layout version="0....

1
2 3 4 5
29