A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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
0answers
6 views

Order Confirmation Email - Incorrect senders email Magento 2.2.7 EE

I am getting wrong sender email-address in order confirmation email. My project is setup on platform.sh. Which indeed use sendmail and sendgrid to send email from server. Below are the conditions I ...
0
votes
0answers
36 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....
0
votes
0answers
36 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') ->...
1
vote
0answers
29 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 ...
4
votes
2answers
323 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 ...
0
votes
1answer
25 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 ...
1
vote
0answers
24 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 ...
0
votes
1answer
72 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 ...
0
votes
0answers
27 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 ...
0
votes
1answer
26 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 ...
0
votes
0answers
28 views

Magento 2.2.8 mail functionality does not working

I tried to send mail code in magento 2.2.8 but it throw error I am using below code for sending a mail in magneto 2.2.8 $transport = $this->_transportBuilder ->...
0
votes
3answers
175 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 ...
0
votes
0answers
42 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 ...
0
votes
0answers
17 views

Magento 2 email not working

$emails = ["'".$c_email."'", "'".$em."'"]; $pdfFile = 'pub/pdf/13_rajeshnagappan2016@gmail.com.pdf'; $this->inlineTranslation->suspend(); $transport = $this->_transportBuilder->...
1
vote
0answers
335 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 ...
1
vote
0answers
510 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 info@example.com is configured in admin then sender name is showing "info". How can I fix ...
1
vote
1answer
230 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 ...
0
votes
0answers
22 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 ...
2
votes
1answer
530 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
2
votes
4answers
2k 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 <?...
2
votes
0answers
997 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 ...
0
votes
3answers
2k 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 ...
0
votes
1answer
53 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 ...
0
votes
0answers
228 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 ...
0
votes
0answers
328 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/...
1
vote
0answers
827 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 $...
0
votes
1answer
270 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 ...
0
votes
1answer
234 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 ...
0
votes
1answer
384 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 ...
1
vote
0answers
770 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 ...
0
votes
1answer
231 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)...
0
votes
1answer
499 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....
1
vote
1answer
427 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?
0
votes
1answer
831 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 ...
2
votes
1answer
306 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.
1
vote
2answers
432 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 \...
0
votes
1answer
546 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 ...
1
vote
0answers
80 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 ...
0
votes
2answers
603 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 ...
2
votes
1answer
433 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.
0
votes
2answers
838 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() ...
1
vote
1answer
3k 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; ...
0
votes
0answers
226 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 ...
9
votes
3answers
26k 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 ...
2
votes
1answer
475 views

How can I send Email By TransportBuilder

I want to send Email By TransportBuilder. But I got Exception : Required parameter theme_dir was not passed . I found in /vendor/magento/framework/View/Design/Fallback/Rule/Theme.php Line 66. $...
1
vote
1answer
92 views

Magento capture all emails

I'd like to capture all email events in Magento before they're sent and prevent magento from sending them. I know I can disable all emails under system > mail sending settings, but this is not ...
0
votes
2answers
1k views

Send email to a friend is not working

I am working with Magento 1.9.2 and send email to a friend is not sending emails. It gives sent successfully report message. But not sending. Any clue how to debug?
0
votes
0answers
305 views

Send email depending on selected option in Contact form

I have created a custom select in contact form (Contact Us page). Is it possible to send an email to a different email address depending of the selected option? i.e. if i choose 'Area 1' the email is ...
0
votes
2answers
444 views

How to pass extra parameter to mail function from magento

I want to send extra parameter to mail function in magento. I didn't find any raw mail function in magento, can any one help me where I will get that function. mail($to, $subject, $message, $...
1
vote
1answer
2k views

Magento 2: SMTP Email gives error “Invalid sender data”

Using Magento 2 Version 2.1.0 on WAMP Windows 10 I'm using https://github.com/magepal/magento2-gmailsmtpapp In magento Admin, then goto Stores -> Configuration -> Advanced -> System -> Gmail/Google ...