Questions tagged [send-mail]

the send-mail tag is used for the description of questions relating to or resulting from Magento's inbuilt "Email" or "Email to friend" button on product pages, and the form that clicking that button results with loading.

Filter by
Sorted by
Tagged with
0 votes
2 answers
57 views

Magento 2 : How to override the abstract class [ sender.php] in custom module

I create a custom module to send email to customer and admin separately if i try to override the core file in my custom module its shown error .Error come when i override the [ sender.php ] file in my ...
Mohit Thakur's user avatar
4 votes
1 answer
200 views

How to use the miscrosoft graph mail api instead of default magento mail?

I need to use the Microsoft Graph Mail API for each and every Magento email like new customer and order mail. Something like by-pass the default Magento email feature with Microsoft Graph API
Mohamed Abbas's user avatar
1 vote
0 answers
245 views

Enable specific email notifications and disable all other

Is any way to enable only two types of email notification from Magento 2.4.2 and disable all other email communication from Magento? For example, I have to enable share wishlist and forgot password ...
ajay's user avatar
  • 35
0 votes
3 answers
728 views

Is it possible to override methods with arguments using preference?

I want to disable verification email sending from certain route. At first, I thought that I would create a plugin which would change the customer email to the dummy one before actually sending the ...
Hgresa's user avatar
  • 11
1 vote
0 answers
507 views

Fatal error: Cannot declare class Zend_Mail_Transport_Sendmail

I am using Magento ver. 2.3.5-p2 & Mageplaza SMTP Fatal error: Cannot declare class Zend_Mail_Transport_Sendmail, because the name is already in use in /home/customer/www/site.com/public_html/...
Hamendra Sunthwal's user avatar
0 votes
1 answer
913 views

Send mail on pending payment status

I'm trying to send an email with payment information when the order is established with an offline payment method. Normally, Magento is sending the email when the payment is checked but I need to send ...
Matías Jacob's user avatar
0 votes
1 answer
17 views

Is there any extension in the market able to have 2 smtp service in the setting?

Is there any extension in the market able to have 2 smtp service in the setting? when the primary smtp service fail, use secondary to send out email. Any comments?
Paul Fan's user avatar
  • 654
2 votes
0 answers
77 views

Issues with Magento (ZEND MAIL + Customers do not receive the Order Confirmation)

I'm new here! I sign up to this forum because I have encountered some problems with my Magento (version: 1.8.1.0). When a customer ends the checkout by clicking on "Effettua Ordine" ("...
CimaStore's user avatar
0 votes
0 answers
125 views

Unable to display proper format in email using transport builder in magento2

I am trying to display string as <p>Hello, Welcome</p>\n in my local mail. But it is display with given html tag instead of only string. Let me know how it can be solve or what can be its ...
Unknown's user avatar
  • 581
0 votes
0 answers
227 views

Magento 2.3 - Getting error while sending mail n localhost

I have used the correct email id and password. Also, on the less secure option in there. error: true message: "5.7.8 Username and Password not accepted. Learn more at ↵ 5.7.8 https://support....
Rakhi's user avatar
  • 155
0 votes
0 answers
49 views

Magento 2 Localhost mail issue

I am trying to send custom template using below function in localhost. $transport = $this->_transportBuilder->setTemplateIdentifier('send_email_custom_template') ->...
Soni5041's user avatar
  • 145
1 vote
0 answers
55 views

Magento 2.3.2: Can't Receive Muliple Files In Email

I made a custom module which has a form for customer, in which customer fill his info, upload multiple files and on Submit, Admin receives an email with customer info and files, but my problem is when ...
Partab Saifuddin Zakir's user avatar
5 votes
2 answers
5k views

Magento 2.3.2 email sending code not working in Magento 2.3.3

I have created one extension which is send mail on particular event. This extension working fine in Magento 2.3.2 and also send email but this extension not working in Magento 2.3.3. I have read ...
Sanjay Gohil's user avatar
  • 2,200
0 votes
1 answer
176 views

Email With Multiple Images Not Sending ? Magento 2.3

I made a Module which has a form for customer to send his/her info with multiple images, Images saved to media folder on Submit also I get success message, but the Store Owner don't receive mail ...
Partab Saifuddin Zakir's user avatar
1 vote
0 answers
95 views

Order "Send Mail" Button not working properly Magento 2

When I press the Send Email Button from order, it sometimes does not give any response, but by clicking multiple times it works. Any suggestions what might be the cause of this? Or which files to ...
Zeeshan's user avatar
  • 181
0 votes
1 answer
904 views

Add multiple recipients contact us from

I have a contact form. The smtp module is installed on the project. For smtp service we use smtp.gmail.com. smtp module will collect all sendings and redirect them to the mail service, but my task is ...
ann karsksya's user avatar
0 votes
0 answers
47 views

magento 2.2.8: mail attachment not working

I have installed email attachment extension https://github.com/manishjoy1993/email-attachment in magento 2.2.8 version and it throw some errors. Errors mentioned in following image. And there are ...
Niraj Patel's user avatar
0 votes
1 answer
262 views

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

I have just installed magento 2.2.8 in XAMPP in local and run folllowing code but it throw error "unable to send mail" then after When I changed password for customer,it throws same error I executed ...
Niraj Patel's user avatar
1 vote
3 answers
3k views

Magento 2 plugin for sending email when change customer's group

I created a Plugin for sending emails when the owner of the shop changes the customer's group in backend. I still need to add the group (discount) in the email. The problem is that when I access to a ...
Oscar Vazquez's user avatar
0 votes
0 answers
354 views

Magento2 : Plugin for send email function

i'm trying to make plugin to custom email function, i need to create two field more first name and last name.I need to use plugin to get value of the first-name and last-name. When sending email, the ...
trem jenny's user avatar
0 votes
0 answers
28 views

Magento 2 email not working

$emails = ["'".$c_email."'", "'".$em."'"]; $pdfFile = 'pub/pdf/[email protected]'; $this->inlineTranslation->suspend(); $transport = $this->_transportBuilder->...
Rajesh Nagappan's user avatar
3 votes
0 answers
800 views

The message should be an instance of \Zend_Mail when upgrade to Magento 2.3.1

I have upgraded my magento version to 2.3.1. On previous version i.e on 2.2.6 the sendgrid was working properly. Now I can see that sendgrid is not compatible with 2.3.1. What to do.. Because of ...
1990rk4's user avatar
  • 593
2 votes
0 answers
877 views

Email Sender name is not correct in all emails in Magento 2.3

After upgrading in Magento 2.3.1, Email sender name is not showing correct as configured in admin. If Email [email protected] is configured in admin then sender name is showing "info". How can I fix ...
Vinod Kumar's user avatar
  • 2,045
1 vote
1 answer
561 views

Zend_Mime_Part could not be converted to string magento 2

I am implemented functionality to change store info in email templates, for that I have created plugin public function aroundSendMessage(\Magento\Framework\Mail\TransportInterface $subject, \Closure ...
Daniel_12's user avatar
  • 680
0 votes
0 answers
29 views

Mail from a custom Module after saving data

I am writing a new module (quote request, when user go to the product details page, they can request a quote for the product) I created a form to display in the product details page. When user submit ...
GeorgeM's user avatar
  • 109
2 votes
1 answer
1k views

Send custom email by using cron job magento2

I want to send an Email through a cron job for every 24hrs once.In that email need to mention all the abandoned cart details. I am new to Cron jobs so can you please explain it. Thanks in advance
Jinitha's user avatar
  • 95
3 votes
4 answers
5k 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 <?...
Tiny Dancer's user avatar
2 votes
0 answers
2k views

Magento 2 and Mail Configuration

I have been tearing my hair out for the last 2 days on this and I really need some help. This is my first time working with Magento 2 and GoDaddy (I have a lot of experience with M1 and dedicated ...
Mageician's user avatar
  • 707
0 votes
3 answers
3k views

Emails are not sending from Magento 2 on Ubuntu/Apache

I installed Magento 2 on Ubuntu/Apache/Sendmail and setup email configuration on Store -> Configuration -> Advanced System -> Mail Sending Settings & Sales -> Sales Email Settings. I configured ...
F Peruvallur's user avatar
0 votes
1 answer
71 views

Magento 2.2.3 on Cen0s7 (mail server)

I had Magento running on a shared server (hostgater) till I found out that I did not have root access and could not change the php level and various other things. So i cancled my hosting, bought a ...
mreidiv's user avatar
0 votes
0 answers
336 views

Magento 2.2 sendmail return-path

I've installed Magento 2.2 in local computer on Windows and on remote server on Centos/Plesk. In both installation return-path is set to NO. On windows sendmail set return-path as sender email. On ...
krybbio's user avatar
  • 1,258
0 votes
0 answers
482 views

magento does not send any mail

I am trying to send mail from any option. magento doesn't send any single mail. Its return following error exception 'Zend_Mail_Transport_Exception' with message 'Unable to send mail. ' in /home/...
Hardik Visa's user avatar
1 vote
0 answers
2k views

How to send email with invoice programatically in Magento2?

In my custom module I want to send email with invoice to another email. I have created the following script <?php namespace My\CustomScripts\Cron; class SendInvoice { protected $...
omelandr's user avatar
  • 1,267
0 votes
1 answer
361 views

Send attachments via email

1 Question: How do I send my attachment with the other data? 2 Question: Is there any way I can get the uploaded file and change the name to the email and the schedule of the uploader? This code ...
Gustavo Souza's user avatar
0 votes
1 answer
278 views

Magento 1.9 getCompanyName from registration form field

I have a custom module with an event observer that sends an e-mail to the admin as soon as a new user registers. In my registration form i am using also the company field. Now I would like to show ...
Self Diagnostics's user avatar
0 votes
1 answer
449 views

Magento Emails are not going through gmail and hotmail on (sendmail, nginx, varnish, phpfpm 7.o)

Facing issue with the emails. emails are not going through gmail and hotmail but it's working for the business domains of Google G suite app. I'm using Sendmail function on nginx and even tried with ...
Yogesh Trivedi's user avatar
1 vote
0 answers
845 views

Forgot password not send any email magento2-gmailsmtpapp.

I want the system automatically send email to the user (who forgot password and provide the email). I am using Magento 2.1.7. I have installed https://github.com/magepal/magento2-gmailsmtpapp on my ...
hongnguyenhuu96's user avatar
0 votes
1 answer
305 views

Email No body specified

Im trying to send email using transportbuilder but I'm getting this error. Exception #0 (Magento\Framework\Exception\MailException): No body specified Exception #1 (Zend_Mail_Transport_Exception)...
Ahmed Z.'s user avatar
  • 101
0 votes
1 answer
660 views

Newsletter is not working after installing mailchimp

After installing Mailchimp in magento 2 newsletter is not working I saw in system.log and it's give error like [2017-06-30 07:19:29] main.CRITICAL: Exception message: Type: http://developer....
Jaimin's user avatar
  • 2,146
1 vote
1 answer
514 views

Magento 1.9 sendTransactional() doesn't include CSS from email template

I'm using sendTransactional() to send emails programmatically. All working fine besides the following line in the email template is not included {{inlinecss file="email-inline.css"}} Any fixes?
Magento Learner's user avatar
0 votes
1 answer
2k views

Override abstract class Sender class in magento 2.1.4

I am trying to set runtime Email Invoice template base on custom rule in magento 2. So I am trying to override class below: Magento\Sales\Model\Order\Email\Sender But above class is abstract classs ...
Pramod Kharade's user avatar
2 votes
1 answer
423 views

How Can I Configure Standing Order (Repeat Same Products Order Every Month to sent customer via Mail)

Initially customer able to selected products for standing Order list, Every month starting customer get alert for "Your Monthly Alert" via E-mail. How can i configure standing order.
user avatar
1 vote
2 answers
894 views

Magento 2:Sending Emails Programatically

I want to send emails from my custom module programatically. Email sending is working fine. Here is my controller file: <?php namespace Company\Module\Controller\Index; class Index extends \...
Vindhuja's user avatar
  • 1,395
0 votes
1 answer
668 views

How to send new order emails through SMTP Pro using Observer

I'm running Magento 1.9.2.4 and it's not sending new order emails if I choose a certain payment method. I know the error is in the payment method because cron jobs are running and every other payment ...
Pablo's user avatar
  • 1
1 vote
0 answers
81 views

order and invoice email no longer sending automatically 2.1.3

The order and invoice emails have all of a sudden stopped sending automatically, they can still be sent manually by clicking on 'send email' there seems to be no issue on the email server, is there ...
shinayd's user avatar
  • 21
0 votes
2 answers
746 views

Send to a friend form in popup

Is there any way to make send to a friend form in popup box in product view page i have tried with the default template code in "template/sendfriend/send.phtml" by directly copy in to a popup box but ...
amith lal's user avatar
  • 790
2 votes
1 answer
627 views

Magento 1.9.x how to customize send email from my custom module?

Hi i would like to customize send email and Send invoice email with attached. from my custom module how could i achieve this in magento1. Please find the screenshot.
Nagaraju Kasa's user avatar
0 votes
2 answers
1k views

send a 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. AccountController.php public function loginPostAction() ...
Sarvesh Tiwari's user avatar
3 votes
1 answer
5k views

How do I clear all tasks queued in the Magento Cron, specifically emails?

I inherited a Magento project from the previous developer, and the Cron is broken on that server, so no transactional emails are being sent. There are 3-4 months of backed up emails that never sent; ...
hamncheez's user avatar
  • 223
0 votes
0 answers
270 views

magento 1.9.2.4 blank page when send mail

I am working on website Magento 1.9.2.4 and having weird issue, Wherever mail function is called in whole website, it shows blank page only. Events can be customer registration, place order button or ...
Jigs Parmar's user avatar
  • 2,438