Questions tagged [email]
Questions about emails sent by Magento in general
1,411
questions
0
votes
1
answer
22
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
17
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
7
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
19
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
30
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
26
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
30
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
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
0
answers
24
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
40
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 ...
2
votes
1
answer
85
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
70
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
34
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
6
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
30
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
88
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
44
views
Magento 2 - Send order email to different admin email address based on customer group
I have a store with many customer groups.
I send order confirmation email to a generic admin email address (set in backed configuraion), but now for a specific customer group I need to send admin ...
0
votes
0
answers
21
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
14
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
13
views
Add Items To Credit Memo Email Template
I am looking to override the default Magento Sales New Credit Memo - Customer email template but I'm looking to have the email show the details for the item which has been refunded, as currently, the ...
0
votes
0
answers
13
views
How to disable confirmation email Magento 1
How to disable new order confirmation email when I creat order via API V2?
0
votes
0
answers
86
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
21
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
193
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\...
0
votes
0
answers
36
views
Logo and product images are not displayed in product alert emails
I already set a product alert option for out-of-stock products. When the product comes in stock, I have to receive an email, in that email logo and product images are missing.
1
vote
0
answers
43
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?
0
votes
1
answer
11
views
Shared wishlist just displays html
I'm trying to setup up the share wishlist feature, all of the admin settings are correct but the email just sends through a load of html!
0
votes
1
answer
121
views
Magento 2 - Error 500 when email is supposed to be triggered (we think)
We have this weird issue on one of our websites.
When customers try to buy something they get an error 500 when they complete the order, the order is registered but they get an error 500 and no email ...
0
votes
0
answers
54
views
How to call layout handle in phtml magento 2?
I am looking for a solution to loop the layout handle in order confirmation email template but the for loop not working as expected in template code.
So, the other way I have added a phtml block and ...
0
votes
0
answers
22
views
How to edit the word "Comment" from email confirmation. Magento 2.4.2
All i'm trying to do is change the word "comment" on the email confirmation email. Thought there might have been a comments phtml in vendor/magento_sales but there is not.
1
vote
0
answers
111
views
Enable specific email notifications and disable all other
Is any way to enable only two types of email notification from Magento 2.4.2 and disable all other email communication from Magento?
For example, I have to enable share wishlist and forgot password ...
0
votes
1
answer
50
views
Email template css styles are being ignored
I've added these styles in the admin, however only the color style is being applied. Position, left and top styles are ignored. Is there anything else I must add? Why is this happening? Any kind of ...
0
votes
0
answers
34
views
How to send mail for the giftcard recipient email address in magento 2.4.2 commerce
We are trying to send mail to the gift card recipient's email address. Until I checked In-Default the Magento is not sending the mail. Can anyone tell me how to send mail to the recipient's email ...
0
votes
0
answers
19
views
I have configured Ssmtp mail server on ubunto and test shell as welll as php mail function working fine, but not working in magento2
I have configured Ssmtp mail server on ubunto and test shell as welll as php mail function working fine, but not working in magento2, although magento shows email sent and not any error in logs. ...
0
votes
1
answer
71
views
How to send an e-mail after adding the product to the cart in magento 2?
Unfortunately, so far I am a complete beginner in creating a module in Magento.
I need to send an email after adding the item to the cart.
As I understand it, I need to use the ...
0
votes
1
answer
40
views
Magento 2 avoid customer direct login after click confirmation email
Now my customer directly login after click confirm the email, i want if customer click the
confirmation mail after need to login.
0
votes
0
answers
54
views
How to send invoice emails only for a specific payment method? - Magento2
I want to send invoice emails only if the order's payment method is 'Bank Transfer Payment'. (If the payment method is other payment methods like Paypal & Credit Card, invoice emails should not be ...
0
votes
0
answers
19
views
Magneto 2 Email Templates Preview
I was wondering if you guys have any idea on how to preview the email template styling of store 2. whenever I preview an email template it always renders the store 1 styling (and logo). I cant seem to ...
0
votes
3
answers
130
views
Is it possible to override methods with arguments using preference?
I want to disable verification email sending from certain route. At first, I thought that I would create a plugin which would change the customer email to the dummy one before actually sending the ...
0
votes
1
answer
211
views
How to block specific email address?
How to block specific email address? The customer is registered as guest but making series of suspected fraudulent transactions. We see he is using different credit cards, fictitious address and ...
0
votes
0
answers
64
views
Magento 2 | construct() must implement interface
I am trying to send an email from the Magento 2 backend, in the order section item.
My code is this:
namespace Vendor\Module\Helper;
use Magento\Framework\App\Helper\Context;
use Magento\Framework\...
1
vote
1
answer
162
views
Easy way to disable newsletter subscription Email from going out in Magento 1.9?
Magento 1.9.4
Porto theme
I googled and googled and I can't believe I can't find an easy way to do this. This is what's happening:
Some bad person is feeding thousands and thousands of Email ...
0
votes
1
answer
160
views
Magento 2 - How to customize email items?
If you buy a configurable product, then all options are showing in the invoice for example at www.example.com/sales/order/print/order_id/14807/
My team wants me to remove all the configurable options ...
0
votes
2
answers
124
views
How to get the template Id in controller? template Id is returning NULL for the custom template in the custom module
Index.php
<?php
namespace Eaglerocket\Customquote\Controller\Index;
use Magento\Framework\App\Action\Action;
use Magento\Framework\App\Action\Context;
use Magento\Framework\...
0
votes
1
answer
184
views
Notice: Undefined property: Eaglerocket\Customquote\Controller\Index\Index\Interceptor::$storeManager in Index.php on line 138
<?php
/**
*
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Eaglerocket\Customquote\Controller\Index;
use Magento\Framework\App\Action\...
1
vote
1
answer
312
views
Magento 2.4 How to send attachement in email?
In Magento 2.3 we override below file and add "addAttachment" Method. But in Magento 2.4 I don't know how to send attachment?? anyone knows??
\Magento\Framework\Mail\Template\...
0
votes
1
answer
22
views
This is the error I am facing while sending the mail function
<?php
/**
*
* Copyright © 2016 Magento. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Eaglerocket\Customquote\Controller\Index;
use Magento\Framework\App\Action\...
4
votes
0
answers
167
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">{{...
0
votes
1
answer
160
views
How to send email to Admin in Magento 2.4 when order status change ( Cancel and Hold )
I want to send Email in Magento 2 when order status change in ( Cancel and Hold )
My current code is :
<?php
namespace Hlemail\Customemail\Observer;
use Magento\Framework\Event\ObserverInterface;
...