Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [email]

Questions about emails sent by Magento in general

97
votes
16answers
174k 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 ...
47
votes
4answers
13k 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 ...
34
votes
2answers
25k 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 ...
26
votes
9answers
8k 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 ...
21
votes
4answers
9k 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 ...
18
votes
4answers
25k 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 ...
15
votes
2answers
34k 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/...
15
votes
3answers
24k 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 ...
14
votes
6answers
5k 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 ...
14
votes
1answer
5k 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/...
13
votes
2answers
9k views

Invalid email address “admin@eternal.florist”

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 ...
13
votes
4answers
6k views

Magento 2: send email with Attachment

How to send email with a file attachment.
12
votes
3answers
4k 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/...
12
votes
2answers
12k 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. Please help me to solve this problem.
12
votes
2answers
63k 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 ...
11
votes
2answers
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.
9
votes
5answers
19k 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::...
9
votes
2answers
964 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 ...
9
votes
1answer
2k 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 ...
9
votes
1answer
6k 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 ...
8
votes
2answers
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 ...
8
votes
3answers
20k 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 ...
8
votes
1answer
3k 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 ...
8
votes
2answers
4k 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 ...
8
votes
3answers
3k 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 ...
8
votes
3answers
15k 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 ...
8
votes
3answers
1k 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="...
7
votes
1answer
21k views

How to send mail programmaticlly in magento2? [duplicate]

How to send mail programmatic in magento2 instead of php mail() function
7
votes
7answers
10k 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 ...
7
votes
3answers
10k 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 ...
7
votes
2answers
10k 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&...
7
votes
3answers
2k 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 ...
7
votes
4answers
9k 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 ...
7
votes
3answers
17k 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 ...
6
votes
2answers
30k 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 ...
6
votes
2answers
6k views

Magento 2 : 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 ...
6
votes
2answers
13k 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, $...
6
votes
3answers
9k views

Magento 2 How to configure Gmail SMTP for email sending?

In Magento 2, the username and password are no longer set in template.php under Email module. How can I use Gmail SMTP for email sending in Magento 2? How to configure it? Thanks
6
votes
3answers
868 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' => $...
6
votes
3answers
2k 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::...
6
votes
3answers
11k views

sales email cron job not sending (1.9)

I have verified that the cron script is running, but order confirmation emails are not being sent out. When I open cron.php I see nothing in there regarding emails. Do I need to add anything to the ...
6
votes
1answer
3k views

domain.events appears to be a DNS hostname but cannot match TLD against known list

When entering an order manually we see this error (and cannot complete the order) "Email" is not a valid hostname. 'domain.events' appears to be a DNS hostname but cannot match TLD against known list ...
6
votes
1answer
2k views

magento 2 add/call css file in email template of custom module

I am trying to add inline css in email template in my custom module. Example <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" ...
5
votes
5answers
11k views

How to disable the sending of Magento's default Success Email Template upon newsletter sign-up

Magento CE 1.9.0.1 We recently signed up for an email and list management service that taps into Magento and allows us to manage all transactional and newsletter emails through their application. ...
5
votes
4answers
11k views

Sales emails not being received

We have had several websites where the sales emails have not been received by the client or customer (configured in System -> Configuration -> Sales Emails). We have no problems receiving any of them ...
5
votes
5answers
22k views

New Order Email Notification not working

The website I am working on doesn't sends the orders notification email either to admin nor to the customers. But the admin and customers receive registration and reset password notification emails. I ...
5
votes
2answers
6k views

not able to send email with email template

$emailTemplate = Mage::getModel('core/email_template') ->loadDefault('test_template'); $emailTemplateVariables = array(); $...
5
votes
3answers
7k views

Order Tracking not showing up in shipment email

Our site is sending shipment emails, but the email contains no tracking info. I've created a new template based off of the default one and added {{block type='core/template' area='frontend' template='...
5
votes
2answers
9k views

Email templates: using store email address and logo in the admin back-end

In the email templates we use the email address of the shop (info@shopname.com), as plain text, and a custom logo with the name of the shop in it (shopname_email.png). Now, for each store, we have to ...
5
votes
3answers
708 views

Get email if cron is not working / cronjob fails

I was wondering if there is an option in Magento ver. 1.9.2.2 to get an email if cron is not running or more important if a cronjob fails. I didn't find any configuration in backend nor any ...