Questions tagged [email]

Questions about emails sent by Magento in general

Filter by
Sorted by
Tagged with
3 votes
1 answer
564 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
3 answers
726 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 ...
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 ...
0 votes
2 answers
328 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 ...
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
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
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
1 answer
33 views

Magento2: How to update/change Welcome/Subscription email?

Where I can change my welcome email or subscription email? And also I need to translate them to different languages. Maybe you can send tutorials how to do that.
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])...
0 votes
0 answers
11 views

Email client like outlook

I am looking for a possibility to send AND receive emails in my admin form. Same like an email client like outlook. My reason is, that I want to be independent from a local email client and I want to ...
1 vote
2 answers
5k 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 > ...
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 ...
0 votes
2 answers
68 views

"Area code is not set" when trying to send emails

I am trying to send emails programmatically on Magento 2.4.4-p5 using the TransportBuilder, but I get an exception: Area code is not set, even if I set it under the setTemplateOptions method. This is ...
2 votes
1 answer
1k views

Magento 2 customer account doesn't allow special characters(å, ä, ø, ö, æ etc.) in the email address

Magento 2 customer account doesn't allow special characters(å, ä, ø, ö, æ etc.) in the email address field. Please do needful to allow special characters(å, ä, ø, ö, æ etc.) in the email address ...
2 votes
1 answer
77 views

Change VAT text to Sales Email

How can I change "VAT" with another text in the sales email? Magento 2.2.2. Thanks.
0 votes
1 answer
27 views

Sending mail to customer and admin at the same time preferably using different templates

In my module I have a feature that adds custom tab to product and there is a form that accepts name, mail and question I need to send mail both to admin and customer. This is my mail helper <?php ...
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.
1 vote
2 answers
2k 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
68 views

How to get all the customer email using graphQl in magento2

I need all the customer email using graphQl in magento2. Who ever registered in magento those customers email addresses. I need to get from Api. Please help for this
0 votes
2 answers
2k 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 -> ...
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/...
1 vote
1 answer
171 views

Is it possible to create a custom button in magento 2 to send email?

i have a doubt that is it possible to create a custom button in magento 2 to send email? i have to create one custom button in pdp page and if i click the button it should send me the email. can we do ...
1 vote
1 answer
7k 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 ...
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
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
2 answers
36 views

Aschroder_SMTPPro - need this one for magento 2

i want Aschroder_SMTPPro for magento 2 and wants to know weather it will be hyva compactible or not?
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
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 ...
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 ...
4 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 ...
5 votes
1 answer
1k 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 ...
2 votes
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
0 answers
33 views

Magento2 | Set limit of sending emails every day

I created in the Magento2 backend a newsletter campaign and it will be sent to 6000 subscribers. In my server there is a sending limit at 2000 emails per day. Can I set the limit on Magento2 not to ...
0 votes
1 answer
1k 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
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. ...
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
25 views

Importing Customer List fails to show

I controlled to efficaciously add the patron list within the Magento 2 backend the use of Data Transfer-Import. However, after the system reindexed, the list did not appear in the customers phase. The ...
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 -> ...
1 vote
0 answers
30 views

order confirmation email not sent in magento CE 2.4.5-p1 when placed on Front-End

But, order confirmation email is sent when placed on Back-End. Note: all other emails are sent as expected (processing, updates, etc..)
0 votes
1 answer
42 views

When Email was sent to [email protected] but it said it was from service@paypal need to resolve

I created an account on Magento for a new employee Sam, And a notification email was sent to [email protected], But it said it was from [email protected] I tried to check logs worked fine on the dev ...
2 votes
3 answers
281 views

Prevent invoice email notification after invoice creation in Magento 2

I have used below event to stop Invoice email notification that is triggered after the invoice creation. Vendor/Module/etc/events.xml <?xml version="1.0"?> <config xmlns:xsi="...
0 votes
0 answers
14 views

Confirmation emails

Recently Gmail added shortcuts at the bottom of incoming emails for people to click and respond. It is causing issues for us as the customer sees boxes that say yes proceed with the order, or no I ...
0 votes
0 answers
16 views

Best way for handling large quantity of different custom automatic emails

Using: Magento version 2.4.6 Hyva theme version 1.2.3 Issue: What would be best practice for setting up a large quantity of different automatic email responses? Background: For a webshop selling ...
0 votes
1 answer
652 views

Error filtering template: Warning: Invalid argument supplied for foreach() in magento 2.4.0

Error filtering template: Warning: Invalid argument supplied for foreach() in /var/www/html/magento2/app/code/Vendorname/Modulename/view/frontend/templates/email_items.phtml on line 10 <?php $...
0 votes
2 answers
993 views

How to attach invoice pdf with invoice email

I would like to attach the invoice PDF to the invoice email. I have searched through several links on Stack Exchange, but unfortunately, I have not been able to make any progress on this issue. I am ...
0 votes
0 answers
30 views

How can I change the amount of promotional emails that go out per batch?

How can I change the amount of promotional emails that go out per batch? Right now, it's set to 100, but I'm trying to increase it to 200.
0 votes
0 answers
9 views

Order Confirmation Email sent to Other User

We are facing an issue with order confirmation email. When more than one users place order simultaneously, sometimes, only one user is getting order confirmation emails for both orders, other one is ...
0 votes
1 answer
2k 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 ...

1
2 3 4 5
29