Stack Exchange Network

Stack Exchange network consists of 174 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 about emails sent by Magento in general

0
votes
0answers
22 views

Unable to send and receive emails in magento 2

I have configured cronjob here is the code in crontab */3 * * * * /usr/bin/php-7.1 /var/www/html/bin/magento cron:run 2>&1 | grep -v "Ran jobs by schedule" >> /var/www/html/var/log/...
0
votes
2answers
31 views

Magento : In Controller get POST data and that data added to pdf file after attachment send mail

In Magento, while submit form from frontend in controller using post method i got every data. I want create one pdf file and keep this data in it after that attachment of this file and send with mail. ...
0
votes
2answers
36 views

Magento 2 - How to use admin panel email template in my custom module?

I have created the custom module for customer registration request including an email function also. email function is working fine. I have customized the email template using Marketing -> ...
0
votes
0answers
15 views

Order & despatch Confirmations not being received [closed]

We are having problems with our order & despatch confirmations being blocked by some servers. We have been told by our developer that we have no control over the receiving server which although ...
0
votes
0answers
24 views

Magento : Send/Mail custom form data in PDF file

I have create one module for custom form fill by the user while click on submit button the form send two person one for user and second for website owner. This is working fine but i want to send this ...
0
votes
0answers
13 views

Magento2: connection refused mageplaza email

I get every time in exception.log any issue: Next Magento\Framework\Exception\MailException: Connection refused in /home/b2b/domains/b2bstyle.pl/public_html/vendor/mageplaza/module-smtp/Mail/...
0
votes
0answers
20 views

Actually i am facing one error while sending email programmatically magento2?

Here I am using default contact us email template from admin panel magento 2. app/code/Vendor/Module/Controller/Index/Contact.php <?php namespace Vendor\Module\Controller\Index; use ...
2
votes
3answers
47 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
3answers
92 views

How can I add weight on an order confirmation?

I would like to add the total cart weight onto the order confirmation. On Magento 1 this code was added- <td colspan="4" align="left" valign="top" style="font-size:11px; padding:3px 9px; border-...
0
votes
0answers
26 views

Magento2: Stop user registration email notification to customer programmatically

I want stop email notification for user registration(createuser) programmatically. We can use plugin, observer, extend createpost controller. Can anyone please suggest which way is standard to do ...
0
votes
0answers
22 views

Notify admin when customer logs in

I want to send an email to the admin everytime a customer logs into his account on frontend. I have created a custom module in which I have the required files module.xml, registration.php and ...
0
votes
1answer
21 views

How to add News Letter Subscription checkbox on checkout Success Page in Magento 2?

I am getting email address in the database with this function: protected $subscriberFactory; public function __construct( \Magento\Newsletter\Model\SubscriberFactory $subscriberFactory, ....
1
vote
1answer
33 views

Welcome Email 1.9 disable sending this email

I have tried the other answers but have been unsuccessful. I am fairly new to PHP, XML, OOP, and Magento, sorry about that... I would like to disable the "Welcome new customer email" that is sent ...
1
vote
0answers
24 views

Send email using SMTP in PHP with PHPMailer [closed]

I tryed this code: <?php // Import PHPMailer classes into the global namespace // These must be at the top of your script, not inside a function use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\...
1
vote
1answer
37 views

Magento 2 Get Order Data In Order Email Confirmation Template

I have made a custom template to use in my order confirmation email template. I want to get the order data in this template so I can create a custom order grid layout. I'm not sure on how to do this?...
3
votes
2answers
57 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 ...
1
vote
0answers
13 views

AheadWorks - Follow Up Email extension review event

I'm using Follow Up Email extension from AheadWorks. I wrote a rule to send a notification email when a user has submitted a review. What I'd want to achieve is to state name and sku of product for ...
1
vote
0answers
16 views

Send customer account creation email to admin

I want to send account creation notification email to admin . I followed following code. events.xml path Namespace/Modulename/etc <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/...
1
vote
0answers
25 views

Magento 2 Email Confirmation Not Working

I have a problem with Magento 2.2.5. All the links sent on email like the email confirmation link or the password reset link is not working. The problem is that is my website is my_website.com then ...
2
votes
0answers
35 views

How to check why magento store can't send email with new order

I'm meeting the problem with my store, I'm using 1.9.3.2, the email with orders can't send such as new order, new shipment, new invoice but contact email is working, I have checked the log file and ...
1
vote
0answers
23 views

Magento 1.9.3 - Mailing Solution for Magento Multistore

We are using a Magento 1.9.3 instance with multiple websites set up. Every website has it's own Mailbox and Mail-Address. And their own Domains. These are either hosted at all-inkl.com or gmail. ...
0
votes
0answers
18 views

smtp configure with amazon SES sandbox account + postfix in magento 2.2

I am working on SMTP configure in magento 2.2. I have created AMAZON SES sandbox account and configure postfix. now sent mail using mail function. But if configure in magento 2.2.5 its not working. ...
0
votes
0answers
24 views

Customising email variables

Is it possible to customer email variables? For example, there is a variable for Shipping description: {{var order.getShippingDescription()}} In the email I want to change new lines (\n) to be line ...
1
vote
1answer
27 views

Magento 1.9/1.4: sending email with attachment using core/email_queue

I wish to send email with an attachemnt, and I must use core/email_queue. How can I add attachment to the email? There are a lot of anwers on how to adding attachment using core/email_template, but ...
0
votes
1answer
39 views

Sales Emails going via wrong email address magento 2.2.x

I have setup email address in sales representative but getting sales email from apache@domainname So where I need to fix this issue? Can anyone let me know? Other emails except sales are working ...
0
votes
0answers
16 views

Magento 2 : New Customer Email Translate Issue

I am working on magento225. Store Language : Romanian (ro_RO) I am creating new customer and get New account email, but in that I am not able to get Store Name and Customer Name in translation. For ...
0
votes
0answers
25 views

All sales emails got same template. Magento 2

Problem look like title, when i change order status i always is sended same maile (default order item) when its need to send invoice or shipping mail. Is anyone know where i can check how is template ...
2
votes
3answers
91 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.
0
votes
2answers
23 views

Where is decided wether frontend or backend locale is used for translation?

For the shipment email, I get the payment info from a third party extension. But the info field names are in English, while the rest of the email is in German. After some bug searching I found that ...
3
votes
2answers
266 views

Email notification for cancelled order

Hi is it also possible to get email notification for cancelled orders? Thanks
0
votes
1answer
53 views

Order confirmation emails not sending

Once I place an order, confirmation email is not sent. In the backend (Sales -> Orders), the order says that "The order confirmation email is not sent". If I click "Send Email", it still doesn't ...
1
vote
0answers
24 views

Emails not sending, Cron Working

I have a problem with emails not sending I had a problem with cron yesterday 'No heartbeat task detected' and solved it by amending the cron.php file as directed by the xtento site by adding $...
0
votes
0answers
8 views

get Receiver's email-id in email header.html file magento2

I have a scenario in which I have to show receiver's email-id in email-header part in all emails. For header.html file all variables are setting via - Magento\Email\Model\AbstractTemplate 's ...
0
votes
0answers
9 views

Magento 1 & 2 fill up MailDir with irrelevant email data after each cron

First a little background info: I run a small web server which has a couple of M1 and M2 sites (and some wordpress sites as well). The server is configured to backup all site data everyday and this ...
1
vote
1answer
35 views

{{store url=“ ”}} or {{base_secure_url}} or {{base_unsecure_url}} for my situation?

Which one of these is best if I am running one store and the test environment is running unsecure where as production is running secure and we're only planning to have one store in the Magento ...
0
votes
2answers
44 views

Magento 2: Add BCC programmatically

I am using below code to add BCC: $transport = $this->_transportBuilder->setTemplateIdentifier($template) ->setTemplateOptions(['area' => 'frontend', 'store' => $store])...
0
votes
0answers
21 views

Custom email from module works on localhost, empty on live server (m2)

Any ideas? I send an email from my custom module, and it works locally (AMPPS), but on live server it does not work. It just sends an empty email (no subject and no content). Controller file ...
2
votes
0answers
19 views

Magento 1.9.2 - Encrypt the password from the php file

I created a file for sending the email from my site in php via SMTP. To do this I followed a guide where he said that you had to write as text in the sending file (MailSMTP.php) both the email address ...
2
votes
0answers
36 views

Check if email already subscribed (on newsletter)

i have a custom popup for email signup to newsletter, and add the email via a custom module, which works fine.. but, It seems to allow duplicate emails, which i dont want. How can I check if email is ...
0
votes
1answer
38 views

Magento2 how to get the payment method title instead of payment html in new order transaction email?

How to get the payment method title instead of payment html raw in order transaction email in magento2
0
votes
0answers
11 views

how to adjust Magento 1.9.0.1 to accept an unsusual emaildomain for a customer's email? [duplicate]

I want to add a new customer to our Magento 1.9.0.1 store, but am rejected to save it due to the email domain of that customer's email address info@[domain].zone. I couldn't reproduce the problem in a ...
0
votes
0answers
13 views

Zend_Mail_Protocol_Exception: Command not implemented

In Template.php file I use below code to send mail. public function getMail() { if (is_null($this->_mail)) { /* changes begin */ $my_smtp_host = Mage::getStoreConfig('...
2
votes
0answers
45 views

Alert stock email not received

I've configurated my magento 2.2.4 to send email to customers that have registred themself for an alert stock when the product out of stock is going to be in stock, but when i try to do this i don't ...
1
vote
1answer
17 views

Hook and modify an email being sent by Magento 2

I am trying to find a way to modify my email letter content before sending it. I want to be able to modify any email being sent by Magento. For instance I need to achieve the following. Be ...
0
votes
1answer
41 views

Magento 2 Index Contoller on Custom Module

I have added the custom order form on product page. When cutomer enters the details and submit the form then the Order will be created in backend and also confirmation email will send to customer ...
0
votes
1answer
28 views

Magento 2 send email very very slow

When ever I send an email to the customer from the backend, for instance "Send Email" button from orders or from invoices, everywhere it behaves the same. When I click the button, it waits and waits ...
0
votes
2answers
20 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 ...
0
votes
1answer
55 views

Magento2 - Add custom attribute after SKU in e-mail

we are using magento 2.1.9ce In the transactional sales e-mails is the sku shown. I have found that the vendor/magento/module-sales/Block/Order/Email/Items/Order/DefaultOrder.php controls this sku. ...
1
vote
4answers
295 views

Email template is not defined when try to send custom email

I created a module to send a custom email, but when i send the email i always got an error like this: Email template '' is not defined. app/code/Blob/Withdrawal/etc/adminhtml/system.xml <?...
0
votes
0answers
38 views

Email template tracking id variable

i have the following code on my email template to include the tracking number of the order. {{block type='core/template' area='frontend' template='email/order/shipment/track.phtml' shipment=$shipment ...