Questions tagged [email]

Questions about emails sent by Magento in general

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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
1answer
18 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
1answer
25 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
0answers
18 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
0answers
23 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
1answer
10 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
1answer
51 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
0answers
42 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
0answers
21 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
0answers
65 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
22 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
16 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
15 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
52 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
28 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
12 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
44 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
34 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
26 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
63 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
67 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
37 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
75 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
1answer
95 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
21 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
89 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
24 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
13 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
61 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
35 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
50 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
53 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
29 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
23 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
265 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
111 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
20 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
21 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
55 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
43 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
42 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
16 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
151 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 ...

1
2 3 4 5
29