The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [email]

Questions about emails sent by Magento in general

Filter by
Sorted by
Tagged with
2
votes
1answer
1k views

How to Get order increment id in an email title in Magento 2

Can someone tell me how to get the order increment id in the email template subject in Magento 2. In Magento 1 we got it with: {{var order.increment_id}}
2
votes
3answers
5k views

How to add new Template Variable in magento

I want to add new template variable and use it in transactional email template from backend. Same as "Confirmation URL". Please refer to screen shot: Thanks!!!
2
votes
2answers
1k views

Cron Translate Email Magento 2

Magento 2 still sending cron emails in English. I know in Magento 1.9 is a recognized bug, but I tried with the fixed known and it doesn't works. I need to translate the product alert emails. Any ...
2
votes
2answers
3k views

Send email attachment with zend [SOLVED]

I wrote a custom module which is using zend to send the information of a form to a email address. Now i have a file upload in the form and this file (a image) needs to be send as an attachment of the ...
2
votes
2answers
560 views

Modify the From address of the Contacts email [closed]

I send emails from Contact form, e.g. template='contacts/form.phtml', to an osTicket system. My problem is that the customer's email address is set as the ReplyTo header of the email sent by this ...
2
votes
1answer
10k views

Magento 1.9 - Change color or email templates

Im trying to change the color of the standard email templates. I have: Magento 1.9 Set custom skin to my custom theme Moved email-inline.scss and email-non-inline1.scss into my custom theme All I ...
2
votes
1answer
3k views

Subject line of Transactional Emails - Custom Fields

I am working with a client who is primarily wholesale, the subject line needs to focus on things like shipping method and warehouse information than about the order id or the web URL of the store. I ...
2
votes
2answers
5k views

Magento doesn't send autogenerated password

I've noticed that when I clic on "send auto-generated password" to a customer it sends an email but it doesn't displays the new password, it appears like: Dear customer, Your new password is: ...
2
votes
2answers
46 views

Magento 2 - Email attachment is not working in my controler

Here is my code. $pdfFile = 'pub/pdf/13_rajeshnagappan2016@gmail.com.pdf'; $store = $this->_storeManager->getStore()->getId(); $transport = $this->_transportBuilder->...
2
votes
2answers
233 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/...
2
votes
1answer
149 views

is this a spam email or real

Message ID : <201812262203.wBQM3RsD009630@web1.gohost.sk> Sent Date : Wed, 26 Dec 2018 22:03:27 +0000 From : magento@gohost.sk Sender MailID : magento@gohost.sk Reply To : magento@gohost.sk To : ...
2
votes
4answers
639 views

How to use store image URL in Email Templates

I have multiple stores and want to change Store Logo in Email templates specific to the store.
2
votes
1answer
439 views

Magento2 Welcome Email

I am unable to edit the CSS for the welcome email template in Magento2. Please help me where to edit this.
2
votes
2answers
8k views

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

My Magento 2 send an email when I register in the newsletter, but I receive that exception all time: How can I solve it? Thanks
2
votes
1answer
2k views

Connection refused error while sending order confirmation mail

My magento admin dashboard says that the order confirmation mail has been successfully send, but I am not getting any mail in my inbox, and the exception.log file says this exception '...
2
votes
1answer
3k views

How to stop Magento from sending emails via cron?

In Magento 1.9.1, order confirmation emails are queued and scheduled to be sent. How can I disable this? I would like Magento to send emails in real time like it used to do.
2
votes
2answers
465 views

M 1.9.0.1 - path hints showing in order email

Believe it or not but my customer forwarded an order-email where the template path hints of the single blocks are showing. Nothing changed in config Path hints disabled Developer client IP set It ...
2
votes
1answer
461 views

Email notifications for inbox messages?

Is there any way to have magento send me an email when I get a message in my admin inbox? I don't log in often and would like to stay on top of of security patches, etc.
2
votes
2answers
1k views

How to delete email recipients from database?

After upgrading from 1.7 to 1.9.1 I have some challenges for the Cron Mail. Mail sends out as it should without any problem. When the cron job core/email_queue::cleanQueue is running, it only delete ...
2
votes
1answer
4k views

Get transactional email id by name

Does someone know how do I get the id of an email by name set on backend? I have an email created in backend in transactional emails that I want to send it programatically, but the id of it may differ ...
2
votes
1answer
2k views

Client and Admin not receiving Sales Email Notifications

I've configured notifications in System -> Configuration -> Sales Emails But still, I'm not receiving any email notification.
2
votes
3answers
2k views

$_item->getOptionByCode('simple_product') in Order Mail

In the checkout-cart (template/checkout/cart/item/default.phtml) I have this code: $simpleProduct = $this->getItem()->getOptionByCode('simple_product')->getProduct(); I want to use the same ...
2
votes
1answer
3k views

Order confirmation, add order comment, Order (send email), Send Order Email Copy To

I have a weird problem. For some reason, all order related functions doesn't work. Order confirmation doesn't get send Add order comment and email doesn't send Clicking on the send email in order ...
2
votes
1answer
2k views

New email template not sending

I created an email template which appears to be set up correctly. I say this based on it appearing in the System->Transactional Emails section. I tested this by changing the label a few times to make ...
2
votes
1answer
4k views

Magento Unable to send mail [duplicate]

I have a custom module that sends email on localhost but now when I uploaded it to a live server, it generates an exception saying that "Unable to send mail." Note: emails are enabled on the server ...
2
votes
3answers
3k views

Customers multiple email addresses

I've been searching high and low but I can't seem to find any information on this. My client would like the ability of multiple email addresses to a customer, so that all sales emails would be sent ...
2
votes
1answer
2k views

If email exists force customer to login before ordering

My current configuration is allowing customers to place orders without having to log-in on checkout, even though they currently have accounts in the system, with the same e-mail we have stored for ...
2
votes
1answer
6k views

How can I change reply-to email adress of contact form when using transactional email template?

I am using a custom template for the contact form because I need a unique subject line for incoming contact form. I got that working by using a custom transactional email template. But now I came ...
2
votes
2answers
6k views

Order made with PayPal, new order e-mail not sent [duplicate]

I have a problem with the orders with PayPal payment gateway. When order is made, the customer didn't receive any email for "New Order" placed. I have established a sandbox for my PayPal and changed ...
2
votes
2answers
564 views

Seemingly Random Wrong Store View in Email

In a client's website, the sales emails is seemingly randomly (so far we've notice it for the order_new and the shipment_new) sent in another language that the language set for the store view the ...
2
votes
2answers
156 views

Magento2 - New order e-mail for us

we have an extension that sends out a new order e-mail to our own private mailbox. Which is different from the ones that customers get. We print these mails automatically on a receipt printer. We use ...
2
votes
1answer
144 views

Get admin detail via load by user_id in magento 2

username = 'admin'; $user_data = Mage::getModel('admin/user')->getCollection()->addFieldToFilter('username',$username)->getData(); var_dump($user_data); //By Username get admin User's Role ...
2
votes
1answer
79 views

Add Dynamic Variable To Transaction Email

I need a dynamic variable to be called in email header and footer based off of the name of the main email template. I achieved this by adding my variable directly in the setTemplateParams()function ...
2
votes
3answers
299 views

Customer model file override issue in Magento2

I am trying to override customer model file below is the code of my di.xml <preference for = "Magento\Customer\Model\AccountManagement" type = "Vendor\Module\Model\Rewrite\Customer\...
2
votes
2answers
79 views

How to give condition for Contact Form Only For Registered Customer?

Below is my Contact Form Email id Box : <div class="field"> <label for="email" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('...
2
votes
3answers
4k views

Magento 2: Low Stock Notification Email to Admin

We have below settings Admin -> Stores -> Configuration -> Catalog -> Inventory -> Product Stock Options Notify for Quantity Below -> 1 Admin is not getting email fo Low Stock Products. Notify ...
2
votes
3answers
271 views

How to send an Confirmation email when customer has login successfully?

I want to send a confirmation mail to the customer when has customer login. Please let me know how can I achieve it. I am using Magento 1.9.2. this is my _loginPostRedirect() function code ...
2
votes
3answers
1k views

magento 2 any type of emails is not working

when user purchases an item, email is not going neither to the client nor to the admin. what should i do to make the emails working?
2
votes
1answer
790 views

Is it possible to send email from observer using SMTP

Is it possible to send email to customer when he place an order this is my event.xml <?xml version='1.0'?> <config xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:...
2
votes
1answer
458 views

Order email sent to customer but not admin

When an order is placed, the order is sent to the customer and BCC'ed to the webmaster (different domain than the website) but the order is never received by the store admin (same domain as the ...
2
votes
1answer
1k views

Send Magento order confirmation after succesful checkout

Here's my problem: When a customer in my Magento store places an order, the confirmation mail is being sent right away. Even when the payment procedure is not done. I want the order confirmation mail ...
2
votes
1answer
6k views

How to attach Invoice PDF in invoice email

I want to attach invoice pdf to the invoice mail, I followed the link and override the email functions. First Override the app/code/Mage/core/Model/Email/Template/Mailer.php like, Adding protected $...
2
votes
3answers
116 views

I could not send the mail by using the attachement in magento?

I had created the dropdown list with fields Lab,Pharmacy,Food and Nurse.When I select the lab it generates the new fields and when I select the pharmacy it generates the new field with upload button.I ...
2
votes
1answer
685 views

How to Enable/Disable transactional emails by customer?

I want to setup a customer option like Newsletter Subscription. But for transactional emails. Is there an extension for that? How can I do it?
2
votes
1answer
600 views

CE 1.9.2 - Send Queued Transactional Custom Email

I have a custom module working as I want it to that sends external stakeholders emails depending on the items in the order. I am observing the sales_order_save_after event and checking if the order ...
2
votes
1answer
270 views

Wrong email body in transactional email

I'm using the contacts module to output different contactforms in different stores in a multishop environment. I insert my contact form like this: {{block type="core/template" name="contactForm" ...
2
votes
1answer
128 views

I'm having trouble getting an observer to fire after trying to hook to the aschroder_smtppro_before_send event; any ideas?

I've been working a bit now on a little project to implement a simple blacklist for Magento CE 1.9.x and Aschroder's SMTPPro email extension. I've been in a couple of different directions with this, ...
2
votes
1answer
492 views

How to remove credit card number from order confirmation email?

I use magento 1.8.1.0. How can I remove Credit Card Number: **** **** **** 1234 this part from order confirmation email?
2
votes
1answer
1k views

Order email not working in CE 1.9 in hostgator shared hosting plan

Hello could anyone help me to resolve my order email problem, i am struggling with setting up cron job in hostgator, currently i am running on shared plan, as per hostgator, in shared service plans ...
2
votes
2answers
3k views

The e-mail queue not working - old recipients not deleted after receiving e-mails

After upgrading to 1.9.1 (from 1.7.0) I experience a lot of challenges with the Cron E-mail - and I am stuck about how to solve it... E-MAIL QUEUE not working? When customer or Admin added an order, ...