Questions tagged [email]

Questions about emails sent by Magento in general

Filter by
Sorted by
Tagged with
102 votes
16 answers
191k views

New order email confirmation not being sent

I have upgraded my website to 1.9.1 and now my customers are not receiving order confirmation email. I tried sending through the admin panel but nothing happens, also no update email is being ...
user16826's user avatar
  • 1,029
49 votes
4 answers
15k views

Passwords in sign up email. Bad practice? PCI compliant?

We use Magento Enterprise (1.12) and I have had several customers email me already complaining that they received their password via email when they signed up for an account. I know this is considered ...
willboudle's user avatar
  • 1,705
34 votes
2 answers
26k views

Magento 1.9.1 Email Queue not working/buggy - how to troubleshoot and what is considered the best patch?

First of all yes, this is yet another question/topic about the 1.9.1 email queue. But it is not about about any cron problems (like this or this) or about the new queue feature not being used (like ...
Jey DWork's user avatar
  • 1,101
28 votes
10 answers
12k views

Magento 2: Fails to upload a transactional email logo from admin

I'm trying to change transactional email logo from. Admin > Content > Design > Configuration > Edit any record -> Transactional Emails It's on Magento 2.1 but logo showing broken image after ...
Lalit Kaushik's user avatar
26 votes
4 answers
20k views

Magento 2: Sending Email Programmatically

Does Magento 2 have any built-in integration with third party transaction email deliverability systems like Amazon SES, Mandrill, etc., or is the built-in email functionality still based around PHP's ...
Alana Storm's user avatar
  • 44.4k
24 votes
7 answers
27k views

Magento 2: send email with Attachment

How to send email with a file attachment.
Bhavik's user avatar
  • 1,240
18 votes
4 answers
28k views

How to create custom email header

I see in transactional email New order template, there is this tag that calls the header html file which is in app/locale/en_US/template/email/html {{template config_path="design/email/header"}} I ...
Justin Lok's user avatar
16 votes
2 answers
20k views

Magento 2 error: We're sorry, an error has occurred while generating this email

I am getting below error in magento 2 local system. We're sorry, an error has occurred while generating this email.
Rakesh Verma's user avatar
15 votes
3 answers
11k views

How to render data type html in template email magento2?

I have email template in Magento 2: email-template.html {{template config_path="design/email/header_template"}} {{trans "%body" body=$data.body}} {{template config_path="design/email/...
xanka's user avatar
  • 2,114
15 votes
2 answers
38k views

Transactional e-mail: How to template 'sales_email_order_items' (or how to override adminhtml template)

In the transactional email code, I see this: {{layout handle="sales_email_order_items" order=$order}} {{var items_html}} Which, I believe, refers to this template file: /app/design/adminhtml/...
waffl's user avatar
  • 723
15 votes
3 answers
25k views

Magento not sending order confirmation emails to admin

I'm at loss on what to do. This morning I configured cron and according to Aoe_Scheduler the emails in the queue are sent each 5 minutes. I don't, however, receive new order confirmations on my email ...
Frank's user avatar
  • 365
14 votes
6 answers
7k views

How can I get email notifications for exceptions?

How do I setup email notifications for exceptions that are either logged or thrown on the site? UPDATE: A few people have commented on the fact that you may expect to get way too many emails if you ...
kalenjordan's user avatar
  • 3,545
14 votes
1 answer
6k views

Email customer when programmatically creating invoice

While creating an invoice programmatically, how can I make the system email the invoice to the customer? $order=Mage::getModel('sales/order')->load($orderid); $invoice = Mage::getModel('sales/...
Qaisar Satti's user avatar
  • 32.5k
13 votes
5 answers
24k views

How to solve the message "Character content other than whitespace"?

I've received that message below when I try to reset my admin password using the Admin panel, I've my custom module installed. I see this same message on a white screen when I try to access using the ...
Rafael Corrêa Gomes's user avatar
13 votes
2 answers
10k views

Invalid email address "[email protected]"

Hi I bought this new fancy domain name and now I'm in trouble. I was trying to set that into store email addresses in Magento admin. And got the above error. What do I do? (I've also attempted to ...
Moe Sweet's user avatar
  • 325
12 votes
1 answer
20k views

How does asynchronous email sending works in Magento 2

In Magento 1.x if you set this config to enabled Store > Configration > Sales > Sales Emails > General Settings > Asynchronous sending, Magento, instead of sending the email when the ...
Sejal Shah's user avatar
  • 2,141
12 votes
1 answer
71k views

How to setup external SMTP emailing on a local Magento?

I am trying to test some email sending from my localhost. I'd like to use an external SMTP server for this matter. I am using Windows 7/XAMPP. I tried configuring sendmail.ini with no luck. Where/how ...
dsplynm's user avatar
  • 431
11 votes
1 answer
43k 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?
Sagar Dobariya's user avatar
11 votes
6 answers
13k 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::...
Manish Maheshwari's user avatar
11 votes
2 answers
6k views

Magento: send New Order Email only with cronjobs

How can I send The new order Emails using: $order->sendNewOrderEmail(); only from a cronjob used in My custom Module. Thanks for help.
Bizboss's user avatar
  • 597
9 votes
5 answers
22k views

Magento : send file attachements in Emails

in a custom module, I use this function to send Emails: public function sendMail($errorCod, $errorMsg) { $mail = Mage::getModel('core/email'); $recipients = array( Mage::...
Bizboss's user avatar
  • 597
9 votes
3 answers
43k views

order confirmation email not send in magento 2

I Installed magento 2 on my vps server and configured store email like this but order confitmation email will not send to the customers what should I do , should I setup cron as some link ...
ali gh's user avatar
  • 731
9 votes
2 answers
2k views

BASE64_LENGTH_79_INF: SpamAssasin penalizes transactional emails

I noticed that transactional emails from a Magento shop were often marked as spam. Apache SpamAssasin gives a 2.0 score from the BASE64_LENGTH_79_INF rule. The rule explanation states: According ...
Fabian Schmengler's user avatar
9 votes
1 answer
4k views

Magento Advanced/System/Cron* settings

Synopsis So I wanted to confirm my understanding of the cron configurations with Magento; under the admin console System > Configuration > Advanced > System > Cron: Generate Schedules ...
Ash's user avatar
  • 1,746
9 votes
2 answers
6k views

How to debug an email template?

I am working on modifying email templates. {themeName}/template/email/order/items/order/default.phtml The above template triggers when the user (guest or customer) has placed the order. In the above ...
Mr_Green's user avatar
  • 1,615
9 votes
1 answer
7k views

Magento 1.9.1 - Emails being sent by the new email queue?

According to the Magento 1.9.1 release notes: all Magento e-mails (including order confirmation and transactional) are now queued However, I cannot see how any emails except the new order and ...
Ashley Schroder's user avatar
8 votes
3 answers
7k 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->...
Hiren Shah's user avatar
8 votes
2 answers
3k views

Auto-login from customer email

I was considering building an auto-login feature for an extension I'm working on, where a customer who clicks a link in an email will be automatically logged in to their account. This would be really ...
kalenjordan's user avatar
  • 3,545
8 votes
2 answers
27k views

how to send custom email no template in magento2?

In magento2 send email with contact module use: $transport = $this->_transportBuilder ->setTemplateIdentifier($this->scopeConfig->getValue(self::XML_PATH_EMAIL_TEMPLATE, $...
xanka's user avatar
  • 2,114
8 votes
4 answers
6k views

Email Functionality not Working in 2.3.0

In my custom module, I have added email functionality. It's working in 2.1 and 2.2. I have updated to 2.3.0 and now it crashes. Email send code is as below. $sender = [ 'name' => $...
Magecode's user avatar
  • 1,504
8 votes
1 answer
4k views

In Magento 1.9, why are order emails send through the queue, while Invoice emails are sent directly?

In Magento 1.9, why are order emails send through the queue, while Invoice emails are sent directly? I checked the code for Order and Invoice, and the order-sendNewOrderEmail uses the queue, while ...
Pat's user avatar
  • 794
8 votes
3 answers
5k views

Display line in transactional e-mail if payment method is

I want to display a line only when the customer selects payment method checkout money order. When a customer select money order as payment method, I want to display a <li> additional line to the ...
JGeer's user avatar
  • 1,418
8 votes
3 answers
16k views

Unable to submit your request Magento Contact Form Error

I keep getting this error when trying to submit my contact form: "Unable to submit your request. Please, try again later" I'm using default Magento contact form. Does anyone know where to start with ...
Christina Rule's user avatar
8 votes
3 answers
19k views

How to style transactional email with email-inline.css

I am using Magento 1.9.1. I want to customize my Magento Transactional Emails. To do so, I duplicated email-inline.css and email-non-inline.css from base package into my customized package (into this ...
ecmedia's user avatar
  • 81
8 votes
1 answer
2k 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 ...
Johan's user avatar
  • 101
8 votes
2 answers
3k views

magento Error on mail send

I install Aschroder_SMTPPro but mail not send it gives error Warning: stream_socket_enable_crypto(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:...
Jigs Parmar's user avatar
  • 2,438
7 votes
2 answers
21k views

Magento 2 - Emails -> if statement

I'm currently configuring my transactional emails for Magento 2 and since I am in germany and want to ship some parts to a partner inside the EU i can place those orders without calculating taxes for ...
Marcel H.'s user avatar
  • 147
7 votes
4 answers
15k views

How to get magento store email address and name in my custom module?

I created own module, there how to get sender name and email ? I have to create custom admin config option like Email Sender. Here i used below code, to set drop-down then i don't know how to get ...
Sathiyabama's user avatar
7 votes
2 answers
12k views

How to get email address by order id in Magento 2?

I have a controller that load order like this: $order = $this->_objectManager->create('\Magento\Sales\Model\Order')->load($id); Is there a way to get a customer e-mail address by load order ...
simple guy's user avatar
  • 2,484
7 votes
7 answers
14k views

How do I add a customer's email to the sales invoice?

Essentially looking to add customer email to our customer's receipts (invoices) and sales order emails that are generated to dispatch/couriers as well etc. With a bit of searching I've established ...
MagentoMac's user avatar
  • 1,042
7 votes
2 answers
6k views

How to style email template in magento2?

How to style email template? I want to override email variable value and change style according without element inline style used. Is there possible to complie email's less files with grunt. How to ...
Dipesh Rangani's user avatar
7 votes
2 answers
13k views

Nested if Statements in Email Templates

I am trying to use nested if statements in my email template, like the following: {{if subscriber.promo_group}} <p>You are one of the first {{var subscriber.promo_group}} subscribers.</p&...
Laura's user avatar
  • 2,700
7 votes
3 answers
3k views

Magento 1.9.1 sending multiple emails

I have my store setup and ready to work with it. When I'm going to make a test order, I noticed that Magento is sending the confirmation email multiple times, doesn´t stop sending. I'm receiving the ...
Elias Soares's user avatar
7 votes
4 answers
10k views

Daily admin email for products that went out of stock that day

I am trying to set up a script to send out daily emails to my admin to let them know what went out of stock that day only. It doesn't need to be anything fancy, perhaps even writing items to a text ...
Adam Ross's user avatar
7 votes
5 answers
6k 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="...
Prakash Patel's user avatar
7 votes
2 answers
792 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">{{...
Navin Bhudiya's user avatar
7 votes
0 answers
1k views

Debugging emails

I have a Magento ver. 2.1.3 setup that is not sending any emails. I'm trying to fix this, but nothing I do seems to work. My server has protections against spam which forces scripts to use SMTP. I'...
Oylex's user avatar
  • 201
6 votes
2 answers
23k views

Magento 2 : How to add custom data in order email

I am new to Magento. I want to override the new order email template and add custom details in the order email. Please help. Steps I have done 1. I have created a new email template and assign it to a ...
Abhishek's user avatar
  • 939
6 votes
2 answers
32k views

How to get json data on frontend in magento

I have a custom module, which uses for email varification in frontend of magento. This module will appear as a popup in homepage while it loads. I want to do some other functionings such as display ...
Rajeev K Tomy's user avatar
6 votes
1 answer
20k views

Pass Variable And Output In Custom Email Template

I am trying to pass data into my email template, something like this: ['catalogue_url' => 'http://url.html'] I am struggling to access and output it in the email, I have tried the following: Test 1: ...
LM_Fielding's user avatar
  • 1,533

1
2 3 4 5
29