Questions tagged [email]
Questions about emails sent by Magento in general
1,427
questions
0
votes
0
answers
9
views
Use Multiple Email Footer Magento 1
I want to Add Different footers for the different emails from the Admin.
1
vote
3
answers
24
views
Magento 2 - Valid class not found from basename 'Magento\Framework\Validator\EmailAddress'
I am getting this error Valid class not found from basename 'Magento\Framework\Validator\EmailAddress' on the checkout page on Magento 2.
i am using plesk
Error screenshot:
0
votes
1
answer
20
views
New Order Email Template for Specific Product Type / Sku in Magento 2
We are looking for a solution whereby if a customer orders a specific product or product type, they will receive a different order confirmation (new order) email.
The standard confirmation emails ...
0
votes
0
answers
9
views
Automatically appear in your order comment from Magento
Is it possible that if you send an email with Outlook and you mention an order number, that text will automatically appear in your order comment from Magento?
0
votes
0
answers
16
views
Different look of emails on b2b store
We have two separate themes at our store. One is a b2c store and the other is b2b. On b2b we want to leave the emails as they are now, and on the b2c store we want to change the styles of the emails, ...
0
votes
2
answers
50
views
Order Email test php file
How can I test order emails specifying order ID without sending me the email but with a .php file that I call up in the browser?
0
votes
2
answers
25
views
Original Price of child product in order Email
I want the original child price in the below file.
app\design\frontend\MyVendor\MyTheme\Magento_Sales\templates\email\items\order\default.phtml
I try $block->getBasePrice($_item) or only $block-&...
0
votes
0
answers
12
views
How to separate the Email address from the Shipping information to make it stand out as to be clear it is not part of the Shipping Information?
Magento 2.4.5-p1
Multi Steps Checkout for Magento 2 by Webkul:
https://store.webkul.com/magento2-multi-steps-checkout.html
My customers are not the brightest and I need to somehow seperate the Email ...
0
votes
0
answers
70
views
Is it possible to create a custom button in magento 2 to send email?
i have a doubt that is it possible to create a custom button in magento 2 to send email?
i have to create one custom button in pdp page and if i click the button it should send me the email. can we do ...
0
votes
2
answers
135
views
Send an email with the customer data to the Customer Support email address configured in Magento 2
Once the customer has been successfully registered, the extension should invoke the
following actions.
Send an email with the customer data (customer first name, customer last name,
customer email) ...
0
votes
1
answer
25
views
How to access variable outside of trans directive in email template?
I am trying to use a variable called reset_password_url and I cannot make it work. Below is what I have.
<a href="%reset_password_url">{{trans 'link' reset_password_url=$...
0
votes
0
answers
20
views
How to get child image product in shipping email?
On the orders email I was able to like this
<?php
$_item = $block->getItem();
$_order = $_item->getOrder();
$imageSize = (int)$block->getConfig('sales_email/imageconfig/image_resize');
...
0
votes
0
answers
13
views
New Order Confirmation Template - move order_totals to bottom of page
I created a new email template for New Order Confirmation Template , which uses the
{{layout handle="sales_email_order_items" order_id=$order_id area="frontend"}}
...
0
votes
0
answers
13
views
Connect custom email template
How to add custom template to module programmatically? I have an observer on "email_order_set_template_vars_before" and want to add some variables and the question is how to connect my ...
0
votes
0
answers
14
views
Access customer information in email templates
How to access customer debt which is on customer account information tab in email templates.I want to send order confirmation email with custom data in checkout step
4
votes
0
answers
121
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\...
1
vote
2
answers
35
views
Magento 2.3.5 order email observer custom block enable to pass array
I have tried the following:
Observer
...
$transport = $observer->getTransport();
$transport->setTemplateVars([
'products' => [
['name' => 'Product1'],
['...
1
vote
0
answers
83
views
Issue with receiving emails
Magento Open Source 2.4.5
I am having issues with emails. They are coming through without the email body content and just "We're sorry, an error has occurred while generating this content."
...
1
vote
1
answer
65
views
Magento 2.4.3-p2 Custom Module stopped sending emails
My custom module used to send emails until one of the latest Magento Version upgrades.
I have no clue why it stopped sending them.
sendmail
<?php
declare(strict_types=1);
namespace Schott\...
0
votes
0
answers
52
views
main.CRITICAL: Invalid template file:
I created module for email header
Block: INW\EmailOverride\Block\EmailOverride // information about which image show
template: extraheader.phtml // contain a image tag
I put this in custom email ...
0
votes
1
answer
77
views
Email template id is not found issue in magento 2 admin custom form Magento 2
I Want to send a url to customer from admin panel custom form.
I use below steps to perform the task.
1 - email_templates.xml file content
<?xml version="1.0"?>
<config xmlns:xsi=&...
0
votes
0
answers
20
views
Magento 2 : Password reset unable to send mails
From few days now, our Magento 2.3.7 website cannot send emails for password reset.
What I've tried is to send mail with PHP CLI mail command, that works like a char (php -r).
Adding logs into vendor/...
0
votes
1
answer
46
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
230
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
0
answers
20
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
0
answers
61
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
0
answers
119
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 ...
0
votes
1
answer
31
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
163
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
66
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
173
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;
}
...
0
votes
1
answer
128
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
105
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/...
0
votes
2
answers
407
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 ...
0
votes
0
answers
21
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
1
answer
248
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
0
answers
133
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 ...
4
votes
1
answer
851
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 ...
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
0
answers
147
views
message has lines too long for transport Magento 2
I am getting an error sending an email because the line is too long, but in my email file it only shows the word "hello". Before the email was sent perfectly but now the email gives this ...
0
votes
1
answer
195
views
How do I send all customers an order confirmation email?
Our smtp email bugged out and didn't send order confirmation emails to over a thousand customers. How would I send them all an email? If i can't selectively send emails to people who haven't got one, ...
0
votes
0
answers
15
views
Fastest way to send Image attachment in custom email from class OrderSender in Magento 2.3.5-p2
I have created a custom email template and want to include an attachment of an image
The current source code is as below and working fine
$emailTemplate = $this->emailTemplate->load('New Order ...
1
vote
1
answer
52
views
Add image attachment on already existed default shipping email magento 2.4
I am trying to add the image as an attachment along with the shipping email when a customer is notified like this $this->_shipmentNotifier->notify($orderShipment);
can anyone have any ...
0
votes
0
answers
661
views
Magento 2 uncaught error: call to undefined method magento\framework\mail\message::getto()
I am using Magento version 2.1 and facing an uncaught error: Call to undefined method magento\framework\mail\message::getto() this issue.
0
votes
0
answers
23
views
sales mailing without store logo doesnt show
the store logo does not appear in the transactional emails, and if the image exists but it does not show it
0
votes
1
answer
33
views
Passing the getUnsubscriptionLink method to the Newsletter Subscription Success Email
I would like to make it possible to unsubscribe however with the arrival of an email about the success of the newsletter signup. But the problem I encountered is that I don't have access to the ...
0
votes
0
answers
347
views
Send csv file on email in Magento 2.4.0
I am generating order report in csv and saving that file in Var folder. Now i want to send that file on email without using any email template. How to i can send that file on email ? Kindly check ...
0
votes
1
answer
23
views
Magento2: Critical Issue: Emails are not sending
Emails are not sending to any users. Please see the attached screenshot.
Any one can help me in this
Magento version 2.3.7
0
votes
1
answer
709
views
Magento 2.4 - Send email with attachments
I am trying to send the emails with the attached files but I am not succeeding.
For the moment this is my code:
<?php
namespace PHPCuong\CustomerAccount\Helper;
use Magento\Framework\App\Helper\...
1
vote
0
answers
111
views
How can I configure Contact Us form & Contact Email in Magento 2?
Please explain Simple ways to configure the Contact Us form and Contact Email.
How can I Enable the Contact Us Form?
How to Customize the Email Contact form ?
How to Configure the Contact Us form?