Questions tagged [email]

Questions about emails sent by Magento in general

Filter by
Sorted by
Tagged with
3
votes
3answers
7k views

Magento Send Email Button on order not working

Magento is not sending emails when you click the Send Email button in admin on Sales>order. Please Help. All other mail are send. but this one is not working. like order,order conform, invoice ...
3
votes
2answers
3k views

Magento 2: 'Invalid sender data' While sending custom Email

Below is code that i am using send mail , and getting 'Invalid sender data' <?php namespace Mycompany\Orderupdate\Helper; use Exception; use Psr\Log\LoggerInterface; use Magento\...
3
votes
2answers
1k views

How to add Email address in sales orders admin grid?

Trying to add email address into the grid in sales but once added can't search by order number. Throwing error: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'increment_id' in where ...
3
votes
4answers
4k views

spam email/account @qq.com

Please can you help me with a problem started 1 week ago? every day a customer with chinese name appear on the customer list and our server start to send spam email (fortunately we block automatically ...
3
votes
1answer
3k views

How to send emails to multiple users in magento2?

I am trying to send email to single user means it's working fine.How can i send to multiple user? $transport = $this->transportBuilder ->setTemplateIdentifier('my_email_template') ...
3
votes
2answers
2k views

Translation of product stock alert email

I have added translation in my locale folders and even loaded templates and assigned them in system config. Nothing seems to translate this email. When i look in the table product_alert_stock i also ...
3
votes
2answers
624 views

Magento 2: Image in custom email module?

I have created a custom module email template, but I am unable to load the images in custom.html file for email templates.
3
votes
3answers
2k views

Magento 2: Inline styles for emails are applying partly

For example, There is a "New order" template. The styles for this template are placed in app/design/frontend/Vendor/Theme/Magento_Sales/web/css/source/_email.less Here's an example of styles: ....
3
votes
3answers
10k views

Magento 2 : Fatal error: Uncaught Error: Call to a member function dispatch() | Store Information

I'm trying to get store information which are set in backend like email,contact,address etc...(I've taken reference from here : https://magento.stackexchange.com/a/125359/39607 ) To do so I've ...
3
votes
1answer
6k views

Newsletter subscribed but no confirmation mail

If I subscribe to the newsletter as guest I get a email to confirm my subscribtion but after I confirm I don't get a confirmation mail that I am subscribed now. How can I change this to get the ...
3
votes
2answers
609 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->...
3
votes
2answers
113 views

Create custom script for send mail in magento 1.9

We want to create one php file. When we run it from front side then send mail. We don't want to create module. We also wand to use magento 1.9 default functionality. Any one help me for create it.
3
votes
1answer
6k views

How to create a new email template in a custom module on Magento 1

I created a new module to overwrite the AddressController.php controller. Here I make some changes and i receive some data from the customer address form. What I want to do now is to take all the ...
3
votes
2answers
4k views

Magento 2: How to Send Reset Password Mass Email to Customers Programmatically

We have migrated 60,000 Customers from Old System to Magento. Now we have to send them Email for Reset Password. https://stackoverflow.com/questions/27920153/create-and-send-email-to-customer-reset-...
3
votes
2answers
11k views

How to get the thumbnail image with getAttributeRawValue

I have a script to show related products in order confirmation emails but it gets the large, main image and not the thumbnail. In some emails clients this splatters these gigantic images and messes up ...
3
votes
3answers
4k views

Change plain text email into HTML email

This is in Magento 1.9.x. I just edited the contents of a transaction email, added some HTML code into it, but the email is still rendering as plain text. How do I make that email into a HTML email? ...
3
votes
3answers
11k views

Magento 1.9.1 Order emails not sent - cron checked - stuck in core_email_queue

I've got a Magento 1.9.1 implementation and am having issues sending out order related emails. I have checked cron jobs and AOE Scheduler reports core_email_queue_sendall and ...
3
votes
1answer
548 views

How can I change the position of the Country and the Postal code for email PDF invoices?

I would like to change the position of "country" with "zip code"? Everything else is correct. You can see the Value: Zürich, 8605 and Schweiz Those need to be changed, but where can I do ...
3
votes
1answer
47 views

How to send email by custom form

I created custom form module, if customer submit the form i need to get all values by email. My module files are Customform\ReturnRequest\Block\Index.php <?php namespace Customform\...
3
votes
2answers
11k views

How to send order confirmation email in magento 2 programmatically?

Admin -> Stores -> Configuration -> Sales -> Sales Email -> Order -> Disabled Where should I look and which module or modal to send the same email programmatically? Update $...
3
votes
1answer
395 views

Why are emails being sent from the wrong store from the command line

We have a script that is sending emails via the command line. Since we are using the email templates we are loading them using the Mage::getModel('core/email_template') model and then calling ->...
3
votes
1answer
4k views

How to add Unsubscribe link at the bottom of transaction email footer?

I'm trying to set up "unsubscribe link" to my email footer to my newsletter subscriber. But, I cannot find any section regarding unsubscribe link or unsubscribe page.
3
votes
3answers
4k views

Email Notification not delivered to customers in Magento

I am new to Magento. As an admin i am getting email notifications on orders. But customer doesn't get any email notification on orders, password reset, etc. Is there any settings to be enabled it for ...
3
votes
2answers
711 views

Magento 2.3 email attachment not working while sending custom email

https://extait.com/blog/how-to-send-email-with-attachment-in-magento-2-3/ I have tried above link, and below is the code: Now I am receiving emails without attachment. Full code as below: Custom\...
3
votes
2answers
715 views

Email notification for cancelled order

Hi is it also possible to get email notification for cancelled orders? Thanks
3
votes
2answers
192 views

Magento Order report

I got mail every week order report below is the code <?php include 'app/Mage.php'; ini_set('display_errors', 1); Mage::app(); $ordershippeddays = 7; // number of days you want $fromDate = ...
3
votes
2answers
1k views

Email for Low Stock Products

How can I setup the Email Notification for the Low Stock Products and Expired Products?
3
votes
2answers
657 views

Magento send order email wihout going to checkout

What I want to do is. I need to disable the checkout process. When logged-in users go to view cart page after added some products, the page will have order by email button. So when click on that ...
3
votes
3answers
1k views

Magento contact us custom transactional email: Customer received plain html codes

I have created a custom transactional email for contact us and applied this on the admin contact. The emails are successfully received on our test email. However, the email contains all the html codes....
3
votes
4answers
1k views

Add CC to all transactional emails in Magento 2

I wanna add custom CC email to all transactional emails in Magento 2. But, I can't find any decent event to catch email sending process and add CC to email. Any ideas? UPDATE As Keyur Shah suggests, ...
3
votes
1answer
1k views

How to send a email to admin in magento 2

I have created custom module to send feedback as a email to admin. I have created feedback link. While clicking that link, It shows popup which contains form fields, After submitted form data ...
3
votes
2answers
3k views

How to edit customer account confirmation link in email

Can anyone tell me how to edit customer account confirmation link in magento? It is from the account controller AccountController.php and Action confirmAction URL in template is as follows. {{...
3
votes
1answer
1k views

Magento 1.9.0.1: Email stuck in queque? 'This letter cannot be sent.'

something strange is going on with my Magento install. Everything with the emails used to work fine, but now I have these messages in my exception.log: 2015-05-11T10:00:02+00:00 ERR (3): exception '...
3
votes
1answer
227 views

Downloadable Product Links in Zero Subtotal Checkout Invoice Emails

The Root Problem The root of all this is actually pretty straightforward - the store has free downloadable software products, and they need invoices to be created for them when they're ordered. I've ...
3
votes
2answers
2k views

Some transactional emails are not being sent

I have SMTP PRO in Magento 1.9 hosted on AWS. The new account emails, and comments work well, but the email of new orders, change of status and billing are not sent. I have no errors or helpful ...
3
votes
1answer
4k views

Hostname validation; new gTLD & store email addresses [duplicate]

UPDATE: While I got the answer I needed down below, this question was later asked again in this post and received a more elaborate answer. My magento store is hosted on a 'new' gTLD (.boutique), but ...
3
votes
1answer
3k views

Plugin email sender incorrectly uses ISO-8859-1

I'm using a free plugin: http://www.magentocommerce.com/magento-connect/product-inquiry-1.html That works great, with the exception of sendind its emails with the wrong encoding (ISO-8859-1), thus ...
3
votes
1answer
308 views

Why is my email template not working with conditionals?

I need to customise the contact form of our magento project, so that there are 2 different forms, one is a basic contact form, the other one is tailored to specific clients, so they both have really ...
3
votes
2answers
110 views

Use my domain for sales emails instead of my hosting domain

All my automated sales emails (like order confirmation, shipment...etc ) are sent from username@myhostingdomain.com, I want emails to be sent from my Magento domain exemple: sales@mydomain.com ...
3
votes
4answers
2k views

We're unable to send the password reset email

I'm using Magento 2.1 When I try to reset my password by using forgot password link, I get following error. Error : We're unable to send the password reset email.
3
votes
1answer
2k views

How to block @xxxx.ru email from registering on my magento2 site

Since I migrated from M1 to M2.1.9, I have been bombarded with spam registrations from .ru domains. Is there a way of preventing this without a module ? I found this : Magento 2: Restrict customer ...
3
votes
1answer
820 views

How can I queue a custom email when an order is placed?

I am sent an email when an order is placed, but there is speed issue. Can you advise me how to add a custom email to the queue when an order is placed? try { $mail = Mage::getModel('core/...
3
votes
2answers
6k views

Customize email template for change password/email

I was trying to customize the emails but for change password or email I don't see where I have to apply my created email. For forgot password for example, I go to (Stores > Configuration; Customers > ...
3
votes
2answers
269 views

The Invoice and order email not received

I tried for an hour, but I can't find the correct solution for my problem. My Magento version is 1.9.2.2 and updated security patch. Now after placing the order the order and invoice mail can't be ...
3
votes
1answer
474 views

Unique account identifier / Several accounts with same email address possible?

We are a manufacturer of dance wear apparel. Some of our customers have multiple businesses, for example, one for dance and one for cheerleading. The business owner wants to have two different ...
3
votes
4answers
4k views

How to get customer/guest user email address without using session in magento

I'm trying to get customer(login)or guest user email address with sales order model, but it reflects blank result . I have been used this code.. $orderData = $observer->getEvent()->getOrder(); ...
3
votes
2answers
1k views

Magento 1.9.2 - Fails to send sales transaction emails

I've recently upgraded / patched a Magento store to version 1.9.2 (from 1.9.1 via Magento Connect). It runs on a Centos server using PHP 5.5.26. Everything seems to work fine except I'm not getting ...
3
votes
1answer
298 views

avoid sending mail in newsletter success when customer create new account

how to avoid sending mail in newsletter when customer created new account. when we register on site at that time we get 2 mails , first is welcome mail and another is newsletter subscribe. we need to ...
3
votes
2answers
4k views

Magento - Add customer email into Address Templates HTML

I need to show the customer email on my order confirmations in the Shipping Information section. I know it is called in: System > Configuration > Customers > Customer Configuration > ...
3
votes
1answer
2k views

Preventing Magento Spam Emails

I'd been testing a Magento site on my server standalone using sendmail, as well as with certain SMTP providers. What I've found when using Magento standalone is that the emails get a low spam rating ...