Questions tagged [email]

Questions about emails sent by Magento in general

Filter by
Sorted by
Tagged with
4
votes
1answer
5k views

Magento 2 : How to handle array values in custom email templates?

This is my observer from where i am passing product name,prodcut price and product quantity in my custom email template file email_template.html . $templateVars = array( 'store' => $...
0
votes
0answers
8 views

Email address has a wrong format error, on paypal express checkout Magento 2.3.2

Paypal Express checkout not working, it says "Exception message: We can't save the address: Email has a wrong format". However payments are being successful but Magento order isn't creating. Anyone? ...
9
votes
1answer
25k views

How to send an email programmatically in Magento 2? [duplicate]

How to send an email programmatically in Magento 2 instead of php mail() function?
0
votes
0answers
8 views

order confirmation email send twice for customer

When placing an order the customer receives two duplicate confirmation emails. I found this solution: New order email being sent twice but I can't find anything in the database !! I don't know what ...
1
vote
1answer
660 views

How to send mail when get events in observer?

I create adminhtml/events.xml and frontend/events.html with code content: <?xml version="1.0" encoding="UTF-8"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:...
0
votes
0answers
12 views

Customer Notification

I have web-forms on MAGENTO 1.9, in one specific form enable customer notification to send them a promo code, but in the template selector just appear predetermined, where can I add more templates? ...
0
votes
1answer
31 views

Send Email to Admin After Customer Registration in Magento 2

Trying to follow thuis tutorial: https://magecomp.com/blog/send-email-to-admin-after-customer-registration-magento-2/ What i have done: \app\code\Namespace\Modulename\etc\module.xml <?xml ...
2
votes
8answers
2k views

is we need to pay and return to site successfully to get paypal order confirmation email

we are not getting order confirmation email if customer placed an order through paypal.but we get invoice and shipment mails. we set Sale : Payment Action in paypal configuration. so once we create ...
0
votes
3answers
63 views

Assign all the Order to related Customers on database

My website got hacked and all the customers were deleted, but the orders are still here. I imported back the customers by CSV, but the orders are no longer assigned/linked to them. The only commun ...
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/...
2
votes
1answer
926 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
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 ...
1
vote
1answer
28 views

contact us page submit but email not received

when contact us page submit but email not received but messages display Thanks for contacting us with your comments and questions. We'll respond to you very soon. in debug.log I get this error. ...
1
vote
1answer
326 views

Magento 2: Change order totals block sort order in order emails only

I want to add some changes in Magento 2 email order_totals. I searched and found it <tfoot class="order-totals"> <?= $block->getChildHtml('order_totals') ?> </tfoot> ...
0
votes
0answers
16 views

Contact form not submitting. Just refreshing. No errors…nothing

Sorry if this a repeated topic, but everything I can find is out of date and not for my version. New issue in the very long line of issues...using Magento 2.3.2. CE The contact form is not working ...
0
votes
0answers
5 views

Memory problem on sending large amount of emails from console command

I have a console command checks for orders and sends emails to customers. protected function execute(InputInterface $input, OutputInterface $output){ $orders = $this->getOrders(); foreach (...
0
votes
0answers
15 views

How to create an email template in Magento 2?

How can I create a customized email template using tables and centralized on the page?
0
votes
1answer
740 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 ...
1
vote
2answers
47 views

How to get Customer Address in formated way and print it - Magento2.3

How to get the Customer Address like above format and how to print it, If there is more than one customer address how to get the particular address of the customer. Thanks in Advance :)
0
votes
2answers
104 views

Email template preview is not working on live Magento 2

When i try to view the template in Live i am getting a blank screen but if try to view the template locally or on staging it works without any issues. Can anyone give me a hint or any help idea to ...
0
votes
1answer
41 views

How to configure default email system in magento 2.3.4

In my case, I can't send any email the default email system also no working. For checking, I sent the order confirmation mail it is not sending. it shows the error alert "Unable to send mail: Unknown ...
0
votes
2answers
49 views

How to create a email template with cart products - Magento 2.3

How to create an email template with cart products, I want to create my own module with cart products and want to send the mail to the admin. How can I do this please educate with brief note. Thanks ...
0
votes
1answer
39 views

Send the Email attachment in the Email

I need to attach HTML file. I have dynamic HTML content and attach the HTMl content in the email
1
vote
1answer
1k views

Magento 2.3: How to solve the message “Unable to send email”?

I have a problem with Magento 2.3 on the contact page and also on admin with email not been send. I'm getting this error on the contact page " “Unable to send email”. I have flow up email extension ...
0
votes
0answers
8 views

Do an IF in {{var payment_html | raw}}

I need to do an If Else in the {{var payment_html | raw}} variable. I need something like the normal block and IF the payment is MBWay I need a custom html do place the logo and remove some ...
0
votes
0answers
12 views

Magento2: Email is not sending by SMTP

SMTP is not working got the error message below. Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:1408F10B:SSL routines:ssl3_get_record:wrong ...
1
vote
2answers
673 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*/...
2
votes
2answers
113 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
2answers
2k 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
0answers
24 views

Adding Predefined Variables to New Email Template?

I am creating a new email template and am trying to attach predefined variables (specifically Order Id) to the new template. I would like the option of clicking on the "Insert Variable" button and ...
0
votes
1answer
15 views

Magento Abandoned cart email is not a default feature?

I want to confirm that the Magento 2 Abandoned cart email is not a default feature? MagePlaza extension inside the Magento seems need to get paid for this function. Thanks
1
vote
1answer
15 views

Payment success e-mail is equal email of order confirmation

I have a virtual store in magento 2.3 and it works well, except for one detail. When I place an order I receive an email with the details of my order. When I pay for the order, I end up receiving ...
0
votes
2answers
80 views

Missing required argument $to of Magento\\Framework\\Mail\\EmailMessage. Magento 2.3.4

I was sending custom emails in magento version 2.3.2 successfully with below code: $storeScope = \Magento\Store\Model\ScopeInterface::SCOPE_STORE; $stroreid = $this->_storeManager->...
7
votes
4answers
2k views

Magento 2 : Dynamic PDF and image attachement with order email

I need to attach PDF and images with order email. I have dynamic PDF and image path which is stored in quote_item table. I have debugged code to attach image/PDF to order email. <preference for="...
0
votes
0answers
15 views

How to attach a generated file with Order Email in Magento 2.3.3

Here i am trying to attach a dynamic pdf file which is getting generated after the order with the order Email. What i want is whenever customer order something after his order a pdf file should be ...
0
votes
2answers
875 views

Custom email layout handle for custom module

I have created a custom module, In which I am sending email to customer. email is working fine but I have created a layout handle in layout/test.xml <?xml version="1.0"?> <layout version="0....
0
votes
0answers
23 views

How to show the cart products in email template - Magento 2.3.4

How to show the cart products in the email template i can't loop into email template, and i can't pass the products into email template, I want send mail with the current cart products so I'am working ...
0
votes
1answer
945 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
2answers
16 views

New order email from admin panel can only be sent once per session

Magento 2.3.4 here. I can only send out 1 order email per admin session from the admin panel. Then it fails with no error message. If I log out and in again I can send another email. But just one. ...
0
votes
0answers
29 views

Magento 1.9 - Totally email not working in my store

another critical problem when going to send email from my store.can't send any email through the store site.Also i checked core_email_queue table & email-queue _recipient ,no records there. I'm ...
0
votes
0answers
28 views

Magento 2 Custom PHP code in Admin email template

I have an email template that I'm updating using the Magento admin interface. Essentially what I'm trying to do is get the Order ID, hash it, and send it as part of the email. I read that PHP short ...
0
votes
1answer
33 views

Magento2 - Need to change order Item by Price in email

I need to customize order Email to display items order by High to Low price. But unable to find the exact file for this. Any help will be appreciated !!
1
vote
2answers
12k views

Does Magento send order cancellation emails?

I have been placing and canceling orders all day without receiving any cancellation confirmation emails and thought maybe Magento 1.7 doesn't support this feature!?! If anyone has had the requirement ...
0
votes
0answers
17 views

Magento2 / Order confirmation email sending issue / Sometimes sent sometimes not

I am using Magento ver. 2.1.4 I am facing an issue in which order confirmation email is successfully sent sometimes and sometimes it's not. Order Confirmation email not sent. I am using custom SMTP ...
0
votes
1answer
20 views

Magento2: How to debug out of stock notification not working?

I'm using the Luma theme in Magento 2.3.3, my other transactional emails are working properly. I've no idea how to start debugging it. How could I start debugging this issue and what to consider?
0
votes
1answer
1k 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
0answers
23 views

How to redirect from email to a particular stores in Magento 2?

My website have 2 store, English and Arabic. I send forget password email from Arabic store but when i click in email then it redirecting to English store instead of Arabic. Can anyone help me how ...
0
votes
1answer
30 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
0answers
207 views

Sending order create email when order is updated to certain status

I have created an custom email template which Mageplaza smtp sends when order is placed but I need it to be send went certain order status is set and so I have created an event which triggers on "...
1
vote
3answers
928 views

Trying to import customer with duplicated email address, (head office and sub branches setup)

I know this is not ideal but I need to try all options before moving on with this so please if you have any positive advice please feel free to drop it in a comment. I know I can disable the ...

1
2 3 4 5
27