Questions tagged [email]
Questions about emails sent by Magento in general
1,436
questions
1
vote
1
answer
463
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
2
answers
653
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
396
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\...
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\...
0
votes
1
answer
547
views
How to add inline css to the Transaction Emails
I need to update existing email header. There for I have to modify some styles.but doesn't define in specific style in app/design/frontend/{themename}/{namespace}/Magento_Email/email/header.html
app/...
0
votes
0
answers
108
views
Magento 2: Set cron schedule dynamically from frontend
I want to set schedule of cron job from values chosen by the customer from the frontend.
I have created checkboxes on checkout page through which I want to set the schedule of email reminders chosen ...
0
votes
1
answer
964
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;
...
0
votes
1
answer
589
views
Not able to send mails in magento 2
I am using SMTP on my website and all the mails are working fine. I am receiving all the emails.
Now I am developing a custom script on magento root to send mails but it is not working.
This is the ...
0
votes
3
answers
362
views
How to to add the Purchase Order Number next to the normal Magento order id on all email templates
How to to add the Purchase Order Number next to the normal Magento order id on all sales email templates as well.
I try this but not working any idea for that invoice mail templaes
Please check screen ...
1
vote
0
answers
73
views
How to send email from the custom module?
Guys I'm trying to create a module to send e-mail and I tried to follow this tutorial:Tutorial
however in the end it generates an error
"Unable to send mail: Unknown error" and I don't know ...
0
votes
1
answer
105
views
Products in wishlist shared
I have an issue with the share wishlist emails in outlook (images are not rendered properly). I didn't find the table that renders items for the wishlist. Which exactly file displays the items, So I ...
0
votes
0
answers
34
views
custom module not working after installation of new extension
i have created a custom module form and then for email functionality i installed Mageplaza extension but then my form module stopped working and when i disable Mageplaza extension module then only ...
0
votes
1
answer
73
views
Wrong email href tag link for magento 2.4.2 shipment email
I have followed a below code for adding tracking link to my shipment email.
/app/design/frontend/Custom/theme/Magento_Sales/templates/email/shipment/track.phtml
<?php
$trackurl = '';
if($...
3
votes
2
answers
266
views
email is coming with tags without interpretation
Guys I have a module for sending e-mail, that when sending the e-mail it is arriving with the html tags, example: br span, that is, it is not being interpreted. I think the code is read by php as a ...
0
votes
1
answer
107
views
send email to client - custom module
Guys after a lot of research, I managed to create a module that sends an email to the store owner, but I also need him to send an email with the content to the customer. Does anyone know how I can ...
0
votes
0
answers
32
views
How to create an email shot in magento 2?
Guys I need to create a type of e-mail trigger, that I don't think is in magento 2. I need the user to click on a button, so that it should send an e-mail to the user. I don't know where to start, ...
1
vote
2
answers
2k
views
Magento 2 Get Order Data In Order Email Confirmation Template
I have made a custom template to use in my order confirmation email template.
I want to get the order data in this template so I can create a custom order grid layout.
I'm not sure on how to do this?...
0
votes
3
answers
2k
views
Email template preview is not working on live Magento 2
When i try to view the template in Live i am getting a blank screen but if try to view the template locally or on staging it works without any issues.
Can anyone give me a hint or any help idea to ...
0
votes
1
answer
859
views
Overriding invoice email template in Magento 2.3
I need to override invoice email template and add a variable (po number) in the template. I ve followed a few tutorials but they didn't help at all. I have an email template in admin panel at ...
0
votes
2
answers
3k
views
Magento 1 - Newsletter subscription - send additional email
We have two newsletter tools in use (don't ask me why). The "old" one and the default one from Magento. For the old one to receive subscribers, we want to send an email with the address of the ...
3
votes
3
answers
5k
views
How to edit customer account confirmation link in email
Can anyone tell me how to edit customer account confirmation link in magento?
It is from the account controller AccountController.php and Action confirmAction
URL in template is as follows.
{{...
0
votes
1
answer
309
views
Generate order confirmation PDF
I am creating a module, that should send invoices and the order(confirmation) pdfs to some declared E-Mail addresses. I am able to do so for the invoices. But I dont know how to generate the order-...
0
votes
2
answers
603
views
Magento 2: Send admin email template programmatically
I have created an email template for my custom form as follows:
Vendor/Module/etc/email_templates.xml
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0
answers
221
views
How can i change email template outer background color magento 2.4.1
I want to change outer background color of email template.So let me know how can i change background color. In which file i can change background color
screen-shot : https://www.screencast.com/t/...
0
votes
2
answers
2k
views
Magento 2 - How to include custom e-mail template?
I added a custom .html email template at THEME\Magento_Email\email\usp_block.html (i also tried THEME\Magento_Email\view\frontend\email\usp_block.html).
Then I added the file THEME/etc/email_templates....
0
votes
1
answer
27
views
Image from BO template are not displaying in email
I call my email template from my controller and send variables to it so I don't need to rewrite the entire template (header & footer) especially because they might change during time.
So, I'm ...
2
votes
2
answers
2k
views
MAGENTO 2 - How to send custom email from custom form
I'm kind of newbie in Magento and don't understand everything I read on the subject so I would be glad if some of you could help me find why I did wrong in the process :)
First of all, I have a test ...
0
votes
1
answer
410
views
Order is complete send order confirmation email only to "admin email address" not to customer magento 2.4.0
Email Confirmation
When order is "complete" send order confirmation email only to "admin email address"
not to customer
for every payment method.
Advance Thanks for help.
1
vote
2
answers
341
views
Adding Google Web Font to Transactional Email?
I'm attempting to add a Google Web Font (Montserrat: https://fonts.google.com/specimen/Montserrat?preview.text_type=custom) in the Marketing -> Email Templates area and attempted to add this in two ...
3
votes
2
answers
549
views
How can I send invoice email via api?
I have an order id. On basis of that I need to send the already created invoice to the customer.
0
votes
1
answer
60
views
Email address variable causing items to disappear from email template
I've inserted a variable to bring in the customer email into the default new order template however when I added this I noticed that the items and total amount now disappear - any idea what's going on?...
0
votes
2
answers
3k
views
Unable to pass array to email layout template (Magento 2)
I've created a module to capture and pass submitted custom option selections from a product which I intend to then send via email (for quotes). Everything is working except my attempts to pass the ...
5
votes
4
answers
5k
views
Magento 2.3 CSS inlining error: DOMXPath::query() Invalid expression in selector >> .fotorama__wrap:not(.fotorama__wrap--toggle-arrows)
I am getting this error in Magento 2.3. Error occurs with every email sent.
CSS inlining error: DOMXPath::query(): Invalid expression in selector >> .fotorama__wrap:not(.fotorama__wrap--toggle-...
1
vote
2
answers
845
views
Order confirmation email not sending to admin or customer
After placing an order the order success page shows but Order confirmation email is not sending to admin or customer. When i refresh cron.php on with my site url however, i receive mail.
0
votes
1
answer
129
views
Not getting Shipment id in getShipment () in vendor/magento/module-sales/Block/Order/Email/Shipment/Items.php
I am not getting Shipment data in getShipment() in below file while sending shipment tracking information email from admin
in vendor/magento/module-sales/Block/Order/Email/Shipment/Items.php
Any ...
0
votes
1
answer
47
views
Custom getLogoUrl for E-Mail templates
I have the following problem: Inside of four different store views, we have the opportunity for the customer, to change between different assortments. This is basically just a filter in the Layered ...
2
votes
0
answers
47
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
1k
views
Magento 1.9 Custom Module Form $mail = new Zend_Mail(); include more $params
I created a simple custom module and have a problem with $parmas which I can't figure out for hours now.
Here is the IndexController.php responsible for it:
public function sendemailAction()
...
2
votes
3
answers
2k
views
How can I login my website with Google Account?
We have a Magento 2 website and want to implement the feature where the user can login using their Google Account as below if already they logged-in their Gmail/Google account on the system.
Can ...
0
votes
1
answer
92
views
Get custom attribute to transasctional email
I am trying to retrieve a customer attribute in a transactional mail. In my editor at the back-office, I put {{var request.getCustomAttribute ()}, but it doesn't work. What is the method to retrieve ...
1
vote
0
answers
48
views
How to remove email invoice coupon code description
In invoice, when the client uses a coupon code it shows in total like Discount(description)
I just want to remove the description, where this can be edited?
Thanks in advance,
Best regards
2
votes
3
answers
7k
views
Associate a guest checkout with an account if their email matches and existing account
In the admin panel under the menu item Customers > Manage Customers. When you click on a customer it shows all their customer information.
The problem is if I checkout as a guest and use the same ...
0
votes
1
answer
67
views
Blocking .ru Bots
I've been getting a number of bots with an email that ends with .ru - I was hoping to stop them from creating customer accounts on our system.
I've seen a few SQL functions that will remove existing ...
0
votes
1
answer
58
views
Magento 2.3.5-p2: Send store emails from different email IDs
I've installed the SMTP extension from Mageplaza link. And configured it to send from [email protected], as below.
However it allows for only one email to be configured, as a result despite adding ...
1
vote
1
answer
1k
views
Which event observer will be triggered before customer mail send in Magento 2?
I need to assign value to my custom variable in new customer Email template.
For that I need to know which Event Observer will be triggered before customer mail send.
0
votes
1
answer
958
views
Hide tax in Magento 2.3 New Orders Email
I'm currently using Magento ver. 2.3.4 and I'd like to hide the tax display in the sales order emails. I've added the following to my design template:
httpdocs / app / design / frontend / Infortis / ...
0
votes
1
answer
1k
views
Magento 2 Send custom email with observer failed with error message
I'm trying to send a message by email after an order is placed with observer.
The following is the code in my Observer,
<?php
namespace TestModule\OrderComment\Observer;
use Magento\...
1
vote
0
answers
106
views
Magento 2 - send transactional email programmatically
I have created some custom transactional emails in the backend and would like to send them programmatically, perhaps with a simple custom form.
In Magento 1 it was possible to do this:
$localeCode = ...
1
vote
0
answers
126
views
Magento2 Enable WYSIWYG On Email Templates Admin Panel
I know Magento has a WYSIWYG library but I am surprised that when you go to Marketing>Email Templates and click into one of the email templates the textarea is not WYSIWYG enabled.
Does anyone know ...
0
votes
2
answers
2k
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: '' ...