A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

Questions tagged [email]

Questions about emails sent by Magento in general

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

1.9 - Send compare page via email

Is there a way to send the products compare page via email? Perfect would be the same as the wishlist page. So you would have a button and after clicking that you get to a form where you can type in ...
2
votes
3answers
1k 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-...
0
votes
0answers
10 views

How we can send copy email of invoice from backend when click on send mail with custom emails ? magento 2 [closed]

Need to send multiple mail when send email of invoice from backend. also we have dynamic emails for each invoice from order table with custom column. please suggest any solution
0
votes
0answers
26 views

Magento2.3.2: Unable to send mail error

When place an order, made updates at either magento admin panel or at frontend, I am getting the following error. This error is occurring on the following: I have the marketplace model. So on any ...
1
vote
0answers
35 views

Magento 2.3.2 custom email send createAttachment() method is not working

custom email send createAttachment() method is not working how to solve?
0
votes
0answers
16 views

Magento 2: how to set custom body in email template

I am trying to send custom email using template where user will enter subject and message in respective text editor and hit 'Send' button. Email sending is working perfectly, but I don't know how to ...
0
votes
3answers
75 views

How to get Email address in my phtml file in magento 2

I want to display email address stored in backend into my header part. How can i get email address into my header.phtml file in magento2
0
votes
1answer
3k 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
1answer
2k views

Override new order email in magento 2

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

Mageplaza Smtp Email: Username and Password not accepted

I'm trying to send an email by extension Mageplaza Smtp and when I config, and send mail, at first, when i enter Username and Password and click "Test now" in "Send test email" section, it sends email ...
1
vote
1answer
548 views

Magento 2 Send Admin Customer Registration Email

I'm trying to set up an observer that sends an email to the admin when a user registers on the website. I am following a tutorial but have hit a dead end. The observer is working correctly however I ...
0
votes
0answers
39 views

Duplicate order confirmation

After we upgraded from Magento 2.2.7 to 2.3 we have come across that customers get duplicate confirmation emails. I can see there is some related issues here, but not for Magento 2.3. Anyone that ...
2
votes
1answer
33 views

order confirm dont send any email Magento2

I am using magento 2.3 When I try placeorder. It doesn't have any mail. I use mail server. My mail sender: name@myserver.com If I use SMPT module and change sender email to gmail then it works. So, ...
1
vote
1answer
649 views

Unable to connect via TLS

I can't figure out what's happening here. Can anyone please explain a solution to me in simple terms? exception 'Zend_Mail_Protocol_Exception' with message 'Unable to connect via TLS' in /home/...
4
votes
3answers
340 views

Magento2 : Order Items Email Template Adjustment

I need to add align="right" in th(i.e Subtotal, Shipping & Handling, Grand Total) to align right on tfoot. I have found that its rendering from the below code under Magento_Sales/templates/email/...
1
vote
2answers
1k views

Magento 2 : Add extra text field in checkout billing address and save it in order

I want to add one extra text field in checkout billing form and also save that field data in order so I can show that field data in admin order view and also in order email. I already tried to add in ...
1
vote
2answers
300 views

Sending order confirmation email in magento 2 programmatically

Normally I would do something like <?php use \Magento\Sales\Model\Order\Email\Sender\OrderSender; use \Magento\Sales\Model\Order; class MyClass { private $orderSender; private $order; ...
1
vote
1answer
2k 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
0answers
10 views

Error font in custom email magento 1.x

I have created an email template, in the locale / de_DE / template / email / feedback.html directory When I received the email, it received a font error EX: <p style="font-size:14px; font-...
0
votes
1answer
50 views

Send to friend sends picture not product

Our send to a friend works fine..., but it sends a link of the products picture. Not a link to the products page. How can I change that? Obviously I would like people to click on the link they receive ...
0
votes
5answers
926 views

Magento 2.3: Add Attachment with email (Magento 2.3 use zendframework 2)

I am working on a module in which I need to attach an attachment with sales email. However, Magento 2.3 use zendframework2 so email attachment is not the same as zendframework1 (in Magento 2.2). Can ...
6
votes
6answers
4k views

Magento 2.3 custom email attachment not working

Custom email attachment file is not working in magento 2.3. its working in Magento 2.2.X Fatal error: Uncaught Error: Call to undefined method Magento\Framework\Mail\Message\Interceptor::...
0
votes
0answers
18 views

Sending an email with default theme

Currently sending some emails with Zend_Mail because it was not needed to be pretty and it is very easy: $email = new \Zend_Mail(); $email->setSubject('Email Subject'); $email->setBodyHTML('<...
5
votes
2answers
9k views

Magento 2 : How to add custom data in order email

I am new to Magento. I want to override new order email template and add custom details in order email. Please help. Steps I have done 1.I have create new email template and assign to new order in ...
3
votes
1answer
98 views

Magento 2.3.3 blank email with html attachment

Since upgrade 2.3.2 to 2.3.3 order confirmation emails are showing empty with attachement.html file attached. The attachement.html files shows the order confirmation text which previously appeared in ...
0
votes
0answers
33 views

CSS inlining error: DOMXPath::query(): Invalid expression in selector Magento 2.3.2

CSS inlining error: DOMXPath::query(): Invalid expression in selector >> @-webkit-keyframes bounceIn << in /var/www/html/vendor/pelago/emogrifier/src/Emogrifier.php on line 530 Getting ...
0
votes
1answer
647 views

Magento v. 1.9.2.4 - MYSQL Table core_email_queue still empty after Updates

got a strange Problem here in my Magento Installation. My Cron Job is running with AOE_scheduler - works fine. Cron Job is running. Screenshot: My MYSQL Table is still empty - no e-mails where send ...
2
votes
1answer
694 views

How to Get email template in dynamically choose format(For example Html Or Text) using Magento 2?

I need to get email template in dynamically choose format(For example Html Or Text) while customer orders anything in Magento 2. For Example: Customer account has one option, which Email ...
0
votes
0answers
17 views

How to add custom Email attachment with .html format

I have to add the email attachment. I have create a custom module public function execute() { $post = $this->getRequest()->getPostValue(); if (!$post) { $this->_redirect('/')...
0
votes
1answer
30 views

How to send email in Magento 2 programmatically without creating custom module?

I need to create a custom script which allows me to send a simple test email with email addresses of Sender, Receiver CC Bcc; Subject line and Body of Email. How could I do this in Magento 2.x? ----- ...
1
vote
2answers
2k views

Magento 2: Send different email templates for Ship, based on Shipping Method chosen

I am having a dilemma on how to send a different email content when an order is Shipped based on the Shipping Method chosen. For example: If there is Delivery / Pick Up / Shipping as shipping ...
1
vote
0answers
10 views

Cannot Find Where You Change The Order Block On Email Confirmation

I'm looking to change "Shipping & Handling" on the email order confirmations. I've looked in the items.phtml and it doesn't mention shipping at all. Not sure where Magento is pulling this in ...
1
vote
0answers
21 views

Magento-2 : How to make customer email as optional to login

I have custom extension, customer can login by mobile number with OTP, no need to email field as required to login. I want to make an email address as optional. How can I make an email address as ...
0
votes
0answers
26 views

Magento 1.9 - how to send custom email if order status pending more than 2 days?

I have event observer for getting order status, How can i send custom email if order status pending more than 2 days. eg: Company Logo:: Dear {{customer name}}, Your order pending more than 2 ...
2
votes
1answer
59 views

Magento 2.3.3 Undefined property EmailMessage.php

I am having this issue after upgrading to magento 2.3.3 and applied the email patch they provided. When try to send email I get: report.CRITICAL: Notice: Undefined property:Magento\Framework\Mail\...
1
vote
0answers
32 views

Spambot protection fake customer registration

I want to reject all the registration of fake customers with a specific domain email. Since the spambot can send the data through POST it does not enough create a new data-validate rule in the ...
0
votes
2answers
174 views

Add 7 days to delivery date

I want to add delivery data to order emails which will be 7 days after the order is created. Inside Mage_Sales_Model_Order::getCreatedAtFormated() function, following code returns order created ...
16
votes
6answers
10k views

Magento 2: send email with Attachment

How to send email with a file attachment.
1
vote
4answers
10k views

How to create a custom form for sending email with file attachment in magento 2

How to create a custom form for sending email in Magento 2 Fields are like First name Last name Address City State Zip code Email Phone Product type: checkbox Option like (1) One (2) Two File upload ...
1
vote
4answers
4k views

How to Add Attachment with email magento 2.3?

Can anyone help us on Add Attachment with email Magento 2.3? We have tried but face the same issue like this. Fatal error: Uncaught Error: Call to undefined method Magento\Framework\Mail\Message\...
0
votes
2answers
1k views

Hide “Grand Total (Excl.Tax)” and “Tax” in order email

I would ask if there's a way to hide the "Grand Total (Excl.Tax)" and "Tax" sections from the order transactional email. I've Magento CE 1.9.0.1. Has someone ever done it?
2
votes
1answer
888 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 ...
4
votes
2answers
2k 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
0answers
28 views

How to send “HelloWorld” Email in magento2 via Controller? [closed]

I want to send the email to customer, please help me out with simple helloworld Program!!! Like Forget password Link
0
votes
0answers
26 views

Magento 2 set custom variable to use in email template on all emails

I want to be able to add a custom variable through an event observer of some sort which enables me to output this variable in any given email template. I know I can make an event observer for example ...
1
vote
1answer
2k 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
1answer
705 views

Change the text color of system emails

How do I change the font color of system emails like "forgot password". I currently have white font color and white background. I need this to work in Outlook, Thunderbird an any webmailer. I tried ...
0
votes
0answers
21 views

Cannot receive emails on the same domain Magento 2.3.2

I am not able to configure the delivery of the emails on the same domain. To summarize: when a customer orders a product he/she receives an email confirmation with the order details, I've added my ...
1
vote
1answer
24 views

Magento2: How to send email to all admin users?

I have listed all the reviews of the merchant in the frontend. I want to remove the particular review from the list. So I have added a remove request button. When a merchant clicks on a button an ...
3
votes
1answer
58 views

Magento 2 Email not receiving after order

Magento order emails not receiving, is that any particular setting in default magento 2?