Questions tagged [email]

Questions about emails sent by Magento in general

Filter by
Sorted by
Tagged with
0
votes
0answers
17 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.
0
votes
0answers
18 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
1answer
20 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
0answers
15 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
0answers
11 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
1answer
35 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
1answer
26 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
0answers
16 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
0answers
7 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
3answers
35 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
1answer
21 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
0answers
22 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
1answer
30 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
1answer
40 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
2answers
32 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
1answer
32 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
1answer
39 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
1answer
20 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\...
3
votes
0answers
36 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
0answers
18 views

Magento 2.4 doesn't send mail to admin on change order status from using Observer

In my Magento 2.4 store it doesn't send mail to admin on change order status from using Observer. By using this it just reload and show white screen when i change the order status from Admin. My ...
0
votes
0answers
12 views

How to send email only for Admin and Customer on changing the order status for 'On Hold' and 'Cancel' status?

I have created an observer to send mail and i have used $order = $observer->getEvent()->getOrder(); if ($order->getState() == 'canceled') { $_objectManager = \Magento\Framework\...
0
votes
1answer
50 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
0answers
25 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
0answers
8 views

Magento 2: Trigger reminder/followup email by customer's choice

I want to add an option(buttons) in the end of the checkout through which the client can choose: No reminder email (default selected) Receive 1 reminder email (in his language) after | 15 days| 1 ...
0
votes
1answer
43 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/...
1
vote
1answer
37 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
0answers
20 views

custom customer attribute in customer welcome email template in magento 2.3.5-p2

How to get account_id custom customer attribute in customer welcome email template in magento 2.3.5-p2 This link already try but not working access custom customer attribute in email template The ...
0
votes
1answer
21 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
1answer
136 views

Magento 2 : Error "TypeError: Return value of Magento\Framework\Filter\DirectiveProcessor\TemplateDirective::process() must be of the type string"

I am facing "TypeError: Return value of Magento\Framework\Filter\DirectiveProcessor\TemplateDirective::process() must be of the type string" error while sending sales email like (order ...
0
votes
0answers
20 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
3answers
64 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 ...
0
votes
1answer
14 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($...
0
votes
0answers
15 views

Invalid Header Value detected Error in magento 2.3.3

I as an admin , received and email which states "Product alerts cron warnings Invalid header value detected". Can any body tell me what is the issue here? and how this can be resolved?
0
votes
1answer
34 views

gmail receiving html tags - magento 2

Guys I have a module for sending e-mail, which when sending the e-mail 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 ...
3
votes
2answers
39 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
1answer
39 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
0answers
15 views

How to set email for Email on a Different Host from the Website?

Now I use the same host account for both email and website. But I plan to move email to new host. I know about Configure the MX Records and Change Email Routing settings My website is in Magento 2. Is ...
0
votes
0answers
12 views

Sending personalized module email does not work

I'm trying to create a custom module that sends an email to the user. I tried to follow a tutorial and when trying to use the code it didn't work it returns: "main.DEBUG: Unable to send email: ...
1
vote
0answers
36 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
0answers
28 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, ...
0
votes
1answer
98 views

Tracking number in Email template magento 2 not working

I have use in the Email templates "New Shippment" the variable tracking numer detail The variable in BO magento 2 Email templates : {{block class='Magento\Framework\View\Element\Template' ...
0
votes
0answers
10 views

Magento 1.9 Unable to Attach Multiple PDF files with email

I'm trying to send multiple PDFs with an email. Currently, I am only able to send a single file public function sendMailpart2() { $templateId = 79; $sender = Array('name' => "Sender ...
0
votes
0answers
38 views

Magento 2.3.6 All emails stopped working even though Magento says it's being sent successfully

I'm running Magento 2.3.6 with PHP version 7.3 and recently my Magento emails have all stopped working. I'm able to run a PHP script from the server to send emails through the mail function and they'...
0
votes
1answer
95 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
0answers
5 views

How to configure correspondents info for the emails?

Right now I have [Store Name] | [Department] showing in the correspondents when I receive the email from my website. I need to change it to [Store Name] - [Department]. How can I do that?
0
votes
0answers
18 views

Possible to send admin emails from a alternative email depending on the customer group?

I need to separate B2B from B2C, even for our clients, so I have defined in the backoffice let's say the email b2c@email.com, this is the email account that sends the emails to the clients, that's all ...
0
votes
0answers
15 views

Magento not sending order emails for third party payment gateway

Order Emails is not working only for particular payment gateway Eway. Emails trigger for Bank deposit & Paypal but eway payment gateway doesn't work. success.phtml, getCanViewOrder() is false in ...
0
votes
2answers
35 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
0answers
21 views

New order email notification not send

Magento 2.3.3 When registering a new user, a message is sent to the mail. If the user creates an order or tries to send from the admin, there is no message. I tried to install Mageplaza SMTP, test ...
0
votes
0answers
23 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/...

1
2 3 4 5
29