Questions tagged [email]
Questions about emails sent by Magento in general
535
questions with no upvoted or accepted answers
7
votes
2
answers
496
views
Magento 2 Customer name always “guest” for PayPal Express/User name not save
When I get an order from PayPal Express the customer name in the confirmation mail is always "Guest". I checked the mail template and there it says <p class="greeting">{{...
7
votes
0
answers
1k
views
Debugging emails
I have a Magento ver. 2.1.3 setup that is not sending any emails.
I'm trying to fix this, but nothing I do seems to work.
My server has protections against spam which forces scripts to use SMTP.
I'...
5
votes
0
answers
57
views
Magento 2 : Is there any idea how product will come in mailchimp after connect my magento with mailchimp?
I just need to use Product Recommendations block in mailchimp account. My magento store is already connected with mailchimp account but i can not seen any product inside this product block in ...
4
votes
0
answers
140
views
Magento2 how to fix upgrade UCT tool errors
1. 36 WARNING Extending from class
'Magento\Framework\App\Action\Action' that is @deprecated on
version '2.4.5' - See \Magento\Framework\App\ActionInterface
2. Using class 'Magento\Framework\...
4
votes
1
answer
979
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 ...
4
votes
1
answer
2k
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 ...
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/...
4
votes
0
answers
612
views
E-mail field not required on checkout
I have a Magento 1.9.1 installation and I wish to convert the e-mail field to be non-required on the checkout process.
4
votes
1
answer
354
views
Why magento 2.1.9 not sending confirmation email after successful password reset?
In magento2 - after reset password conformation mail not send.
We have default functionality in Magento 1.x but how is it possible in Magento 2.x?
Thanks in advanced.
3
votes
2
answers
58
views
The Store View selected for sending Welcome email from is not related to the customer's associated website : Magento 2
I have Magento 2.4.4 and multi website is setup in the store. If i create the customer from the front-end then it works fine and correct website assigned to customer also works fine.
Issue is when i ...
3
votes
1
answer
257
views
Email Template Error with spanish characters
I am sending a custom email, the custom template data is in Spanish.
if the template is in the English language it's working perfectly.
but in Spanish language, it shows me unknown error.
it's not ...
3
votes
0
answers
52
views
Email not sending from admin in magento2
If I can place an order from the frontend, then the order email was sent successfully.
But in the admin side, (Invoice, shipment, notify, send email) Email is not sending in live.
But both side ...
3
votes
0
answers
618
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 ...
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.
3
votes
0
answers
34
views
Get UnProccessed Email Default Email Template In Magento1
I am trying to fetch the email template html with processing the variable. I want forgot_password default template without processing the default variable.
Is it possible to that template without ...
3
votes
0
answers
808
views
Receiving Multiple Order Emails Magento 2
Occasionally multiple order emails are received by our order notification email from a single order. I cannot see any similar issues online currently for Magento 2 just for Magento 1 and was wondering ...
3
votes
0
answers
909
views
How to send invoice mail automatically when invoice is created on Magento 2
What i tried to do, is to send invoice mail automatically to the customer when I successfully created an invoice.
By default the invoice mail in send just when i checked the Email Copy Invoice and ...
3
votes
1
answer
84
views
M1 import orders disable all emails
We're working on importing orders from a legacy system into a Magento 1.9.2.3 store.
We have a script that creates the customer if he doesn't exist and creates the order.
We want to make ...
3
votes
0
answers
366
views
How to add receipent email in footer email template magento2
I have created custom footer email template by overriding it from Marketing >Email Templates.
I have an requirement where i have to display the recipient email address in the footer every-time in the ...
3
votes
1
answer
345
views
Send email from observer using smtp on magento 2
I have this observer, and now i send emails via php mail() function, but i want to use the SMTP.
Can anyone tell me which steep i need to follow?
public function sendNotification($to,$subject,$...
3
votes
0
answers
677
views
Magento 2: Setting cron job for changing order status, can affect on performance?
I want to set cron job for order confirm. Below controller code Confirm.php used for confirm order from my fronted custom module.
This will Set order status confirm. This is working fine.
<?php
...
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 ...
3
votes
0
answers
92
views
Email.less won't compile
I tried to customize my emails with the _email-extend.less in my theme.
But no matter what I try to do at the end Magento only compiles the email-inline.css instead of the email.css.
I also tried to ...
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 ...
3
votes
0
answers
496
views
Email validation in registration form to exclude example addresses
My current registration form only validates the proper input email format.
Where my validation.js file has
['validate-email', 'Please enter a valid email address. For example johndoe@domain.com.', ...
3
votes
1
answer
318
views
problem with 1.9.1.1 & email template
After some actions - especially relating to transactional emails - in the frontend (e.g. new customer signup, newsletter signup, forgot password etc.) there's a blank page (e.g. www.domain.com/...
2
votes
0
answers
43
views
How to determine refund type while issuing credit memo ? (Magento 2)
i am implementing an functionality where i need to determine refund type while issuing credit memo so based on that i can send different email template to customers.
I have checked in Magento\Sales\...
2
votes
2
answers
384
views
Magento 2 : Get shipping method using observer
I am trying to get the the shipping method using observer but I cant seem to get it to work, this is what I have for the ShippingTypeEmail.php
<?php
namespace vendor\Emails\Observer;
use Magento\...
2
votes
0
answers
217
views
How to unsubscribe customers on mass / bulk in Magento 2.3
We have migrated from M1 to M2, and it appears on M1 we had customers "subscribed" in Magento admin but had subsequently unsubscribed in our email platform. Unfortunately, this had not ...
2
votes
0
answers
69
views
Error sending emails "Magento\Framework\Mail\MimeMessage"
Every time magento has to send an email to the customer either for sale, or for anything that has to do with operations that require sending an email to the customer.
I have checked the log system....
2
votes
0
answers
608
views
order confirmation email send twice for customer
When placing an order the customer receives two duplicate confirmation emails.
I found this solution:
New order email being sent twice
but I can't find anything in the database !!
I don't know what ...
2
votes
0
answers
123
views
Adding Predefined Variables to New Email Template?
I am creating a new email template and am trying to attach predefined variables (specifically Order Id) to the new template. I would like the option of clicking on the "Insert Variable" button and ...
2
votes
0
answers
709
views
Magento 2.3.4 Emails have 2 content type headers
I am getting a few rejected emails undelivered from my Magento 2 install with the following error message or similar, but only about 1% at most of all customers (1000's), this problem does not occur ...
2
votes
0
answers
474
views
Magento 2 set custom variable to use in email template on all emails
I want to be able to add a custom variable through an event observer of some sort which enables me to output this variable in any given email template.
I know I can make an event observer for example ...
2
votes
2
answers
418
views
Magento 2.3.3 Undefined property EmailMessage.php
I am having this issue after upgrading to magento 2.3.3 and applied the email patch they provided.
When try to send email I get:
report.CRITICAL: Notice: Undefined
property:Magento\Framework\Mail\...
2
votes
3
answers
420
views
How embedded CSS in transactional email works?
I have a very frustrating issue with the Magento 2 sales order emails. Through experimentation, I worked out the locations of the many files that are used to comprise these emails.
At some point, I ...
2
votes
2
answers
652
views
Magento 2 : How to add custom parameter in invoice template email
I want to add a custom parameter in the invoice template and display that template.
so please give me any solution on how to do that?
2
votes
0
answers
63
views
Magento 2.3.2 custom email send createAttachment() method is not working
custom email send createAttachment() method is not working how to solve?
2
votes
1
answer
301
views
Magento 2:How to enable google customer review survey email from google merchant center
I am implementing the google customer review on success page. It's working fine.
But survey email confirmation is not sending to customer after complete the order.
Any suggestions?
2
votes
1
answer
216
views
Magento 2 order confirmation email not sent
I'm working on a clients' store, and face a problem with no order confirmations being sent.
The following error is logged in system.log:
[2019-06-11 11:53:04] main.ERROR: Invalid address format [] []...
2
votes
1
answer
424
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: ...
2
votes
0
answers
849
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 ...
2
votes
1
answer
126
views
Email not sending magento 2
I sending email from one custom module so everything is working fine but If I change from , I am not getting emails.
public function beforeSendMessage(\Magento\Email\Model\Transport $subject) {
...
2
votes
1
answer
125
views
change email template before sending email
Guys am trying to modifying variables used in email templates, like store name, store email for every email.
How can we do this good manner?
Add plugin on \Magento\Framework\Mail\TransportInterface ...
2
votes
0
answers
69
views
Change VAT text to Sales Email
How can I change "VAT" with another text in the sales email? Magento 2.2.2.
Thanks.
2
votes
0
answers
324
views
PHP Fatal error: Cannot declare class Zend_Mail_Message after composer update Magento 2.2.7
Does anybody know how to fix this? When running the index
PHP Fatal error: Cannot declare class Zend_Mail_Message
I already tried
Deletion of cache, redis, generated folder etc
Setup upgrade and ...
2
votes
0
answers
160
views
Some invoices not showing on grid and email not sent, but row are created in DB
We have been having this occasional issue, for some orders, the payment is processed (by any of our methods), the sales_flat_invoice_* records are created for the invoice, the items and the grid. But ...
2
votes
0
answers
412
views
How to override Magento 2 welcome email upon new customer account creation
I need to customize default Magento welcome email template which is sending upon new customer account creation in my custom module. I'm using the following functions for sending welcome email upon ...
2
votes
0
answers
31
views
Some users can not request the new password mail
I'm not able to figure out, why some users can not request the "Forgot Password E-Mails", so Magento can not send them to the users.
Magento shows message like "the mail isn't a correct one".
Tested ...
2
votes
0
answers
490
views
Pass array of data from email template to phtml in Magento 2.2.5
In magento 2.2.5, I need to pass data from mail template to phtml file. I did this using this link. But I cannot pass array of data in it. only text it is accepting.
I am getting this error:
Error ...