As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [email]

Questions about emails sent by Magento in general

Filter by
Sorted by
Tagged with
0 votes
2 answers
35 views

How i create same drop down in my custom module

how i add this type of drop down in system.xml
1 vote
1 answer
72 views

How i fetch comma separate email from system.xml

This is my system.xml file ScheduleContentNotifier\etc\adminhtml\system.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
1 vote
1 answer
2k views

Magento 2 invoice email not sending

My customer complaint they do not receive the email order. So I have to manually send them the invoice from the admin account. What cloud is the issue?
0 votes
2 answers
31 views

I am trying to send email using helper class but show the error

Send email using helper class but getting below error TypeError: Magento\Email\Model\Template::setVars(): Argument #1 ($vars) must be of type array, null given My code is, <?php namespace Custom\...
3 votes
2 answers
58 views

The Store View selected for sending Welcome email from is not related to the customer's associated website : Magento 2

I have Magento 2.4.4 and multi website is setup in the store. If i create the customer from the front-end then it works fine and correct website assigned to customer also works fine. Issue is when i ...
0 votes
2 answers
1k views

Magento 2 - How to use admin panel email template in my custom module?

I have created the custom module for customer registration request including an email function also. email function is working fine. I have customized the email template using Marketing -> ...
0 votes
2 answers
41 views

Email already exist in db validation

I need help on to correct my implementation on validating the email if it's already exists. Anyone knows what's wrong with my code? It is not validating this part. It will save even if the email ...
1 vote
2 answers
1k views

Magento 2: Add BCC programmatically

I am using below code to add BCC: $transport = $this->_transportBuilder->setTemplateIdentifier($template) ->setTemplateOptions(['area' => 'frontend', 'store' => $store])...
1 vote
2 answers
4k views

Notify for Quantity Below in Magento 2

I have a requirements to notify the admin through email when a product quantity goes below 5 in Magento 2.0.7. I have found that there is option on the admin: System > Configuration > Catalog > ...
0 votes
1 answer
1k 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 ...
1 vote
1 answer
1k views

Magento 2 Issue with email template loaded in admin Marketing >> Email templates

I have added custom code in footer.html for email footer. {{var store.getFormattedAddress()|raw}} is being used to display the store address. If I load the footer template in Marketing >> Email ...
2 votes
1 answer
1k views

Magento emails are not going

I am working on MAGENTO 1.9.2.4 Emails are not going in it through zend mail and php mail function even testMail emails also are not going.I have then send mails through PHP Mailer and tested it,test ...
1 vote
3 answers
8k views

Override new order email in magento 2

I have a custom module that needs to overwrite the new order email template, the location for the default email template is vendor\magento\module-sales\view\frontendemail\order_new.html, and this file ...
0 votes
2 answers
2k views

Magento 2: Send Email with CSV attachment

How to send the simple mail with CSV attachment file in Magento 2. Please help me to solve out this Question. Thanks in Advanced.
7 votes
3 answers
6k views

magento2 send email programmatically without template

I want to send custom email programmatically without any template. In magento 1, I used below script to do same thing. $mail = Mage::getModel('core/email'); $mail->setToName('xxx'); $mail->...
0 votes
0 answers
15 views

How is it possible to stop sending any type of mail from Magento 2 based on the customer email value?

I am working on Magento 2.4 version and certain events that were available in older versions are not there now. I guess a plugin would be an ideal solution to this. Any suggestions would be much ...
1 vote
1 answer
6k views

Magento 2.3 Magento 2 Testing Email Sending But Order Confirmation Email Is Not Sending

I am using magaplaza SMTP extension and i configured it correctly, Test Email Working Fine But When I place an order the order confirmation email not sending. And the Email Logs Telling me that email ...
4 votes
2 answers
3k views

Magento 2: Transportbuilder sending empty mails

I'm trying to use the transportbuilder to send an custom email in my module. I succeed in sending an email, but the body is always empty. This is my email_templates.xml (placed in view/frontend/email/...
0 votes
1 answer
2k views

How do I send a email from the cron job? Magento 2 Unable to send mail

I did create a cron job with custom sql query. It will send an email notification to our support email. Can someone tell me what's wrong my email coding, from the log it said I am unable to send mail?...
0 votes
1 answer
3k views

Magento 2: SMTP Email gives error "Could not open socket"

Using Magento 2 Version 2.1.0 on WAMP Windows 10 As continue with this question Magento 2: SMTP Email gives error "Invalid sender data" Now this is my code $storeScope = \Magento\...
0 votes
2 answers
44 views

How to override an abstract class in magento 2

I know how override the normal class but now i try to override the abstract class [ Magento\Sales\Model\Order\Email\Sender.php ] . i have override the Sender.php file in custom module but its not ...
1 vote
3 answers
1k views

Magento 2 - Remove debug path hint from email template

I am sending order email from my custom module. Issue is in order email it showing debug path hint. Here is the code that i am using. public function sendEmail($orderdata, $order) { /*Send email*/...
0 votes
1 answer
2k views

Zend_Mail_Protocol_Exception: Must issue a STARTTLS command first

I am running magento 1.9.1 website on AWS EC2 Ubuntu machine. Customer registration emails are going out but transnational emails are not going. I configure SMTP by AWS SES service with SMTP Pro ...
3 votes
2 answers
2k views

Magento 2:- "Forgot your password?" issue from admin side

I try to change admin password by Forgot your password link but I did not get any email for Forgot password.
1 vote
1 answer
60 views

Order update email exception in magento2

I tried below code to get items from order in email template order_update.html {{layout handle="sales_email_order_items" order=$order area="frontend"}} but above one not working for me , so i tried ...
0 votes
1 answer
21 views

Use Multiple Email Footer Magento 1

I want to Add Different footers for the different emails from the Admin.
0 votes
2 answers
2k views

Magento 2 CSS inlining error

Getting following error in magento 2 email. CSS inlining error: Warning: DOMXPath::query(): Invalid expression in /home/patios/public_html/vendor/pelago/emogrifier/Classes/Emogrifier.php on line 294 ...
1 vote
3 answers
66 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:
3 votes
5 answers
2k views

Non-transactional emails are not being sent (email confirmation, welcome email, shipping)

I've looked at the core-email queue in the SQL database and only "new order" and "update order" are being sent in the queue for the CRON job. I've read somewhere that there might be an exception and ...
1 vote
1 answer
1k views

Share Cart via Email in Magento 2

I'm currently building a store where I want a user to be able to share their cart with someone via email. So that say a child could send their cart to their parents who could open the link in the ...
0 votes
1 answer
1k views

Magento 2.3: Account Email Confirmation is not sending

We are using Magento cloud environment for our project. There, we want to send a confirmation email when the customer get registered on our website. So, I have done: Store -> Configuration -> ...
0 votes
1 answer
104 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
2 answers
276 views

Magento 2 : SMTP Configuration

Here, I am using the magepal SMTP Extension. https://github.com/magepal/magento2-gmail-smtp-app This is Through the Error Could Not Open Socket https://drive.google.com/file/d/...
3 votes
3 answers
11k views

Customize email template for change password/email

I was trying to customize the emails but for change password or email I don't see where I have to apply my created email. For forgot password for example, I go to (Stores > Configuration; Customers > ...
7 votes
2 answers
495 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">{{...
1 vote
1 answer
420 views

Magento 2 EE: How can I disable certain B2B emails?

I have a Magento 2.2.4 store with the B2B extension installed. I am looking to disable some of the emails for which you can set templates in Stores > Configuration > Customers > Company ...
1 vote
1 answer
70 views

How to remove "Shipping & Handling" and " Tax" on email transactional?

I wish to remove these elements : Here is the tax configuration :
0 votes
1 answer
1k views

How can i send an Confirmation email when Registered email id Was changed by customer?

In My account after login, the customer can change the registered email id.I want to send a confirmation mail to the customer whenever the email id is changed. Please let me know how I can achieve it. ...
1 vote
1 answer
6k views

Magento 2, How to include unsubscribe link in transaction email

Is there a out-of-the-box way of including an unsubscribe link in transactional emails inside of Magento 2? I tried utilizing: <a href="{{var subscriber.getUnsubscriptionLink()}}"> {{var ...
3 votes
1 answer
1k views

M2 | sales email > customize price display > how to show only grand totals?

I'm trying to style Magento's transactional emails. I already managed it to edit and style the item display and included the item picture, but i haven't found a solution to only display the grandTotal ...
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?
3 votes
2 answers
8k views

How to create a new email template in a custom module on Magento 1

I created a new module to overwrite the AddressController.php controller. Here I make some changes and i receive some data from the customer address form. What I want to do now is to take all the ...
0 votes
0 answers
19 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, ...
4 votes
1 answer
2k views

Alert stock email not received

I've configured my Magento ver. 2.2.4 to send email to customers that have registered themselves for an stock alert when the product which is "out of stock" goes to be back in stock, but when I try to ...
0 votes
2 answers
26 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
2 answers
82 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
1 answer
307 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
13 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
1 answer
4k views

Change order confirmation email text

On the generic order confirmation emails that are sent out after a customer places and order, how do I go in and changed the email address for customers with questions to contact us? Right now it's ...
1 vote
2 answers
475 views

Magento 2.3 The images not displayed in Gmail

I need your help I use the module from Mageplaza Smtp and the transactional emails did not show the images in Gmail, but in outlook yes, I inspect the image code in base64 for the images to be ...

1
2 3 4 5
29