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
1answer
33 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
25 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
20 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
25 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
56 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
35 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
16 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
192 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
440 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
155 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
20 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 ...
0
votes
0answers
35 views

Translate in custom email magento 1.9

I just created a custom email send concerning the development of a module. This email is sent via a cronjob every Tuesday night. In the email, I can not translate the sentences despite the fact that I ...
2
votes
1answer
468 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 <?...
1
vote
0answers
853 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
1k 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
48 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
224 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
286 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
762 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
241 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
219 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
374 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
743 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
211 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
480 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
404 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
726 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
290 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
387 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
509 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
79 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
575 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
402 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
792 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
214 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 ...
8
votes
3answers
23k 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
427 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
86 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
290 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
422 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 ...
0
votes
0answers
439 views

How to add custom attachments files in order emails

I have a custom cron job in my magento store from where I send order email to customer second time but this time I want to attach some custom files to this order email. I am using sendNewOrderEmail() ...
1
vote
1answer
1k views

How to attached pdf in order email?

I need to attached pdf file inside mail, while sending order email to the customer. Any one please tell me flow for that ?
0
votes
1answer
566 views

Magento2 admin: Send Welcome Email From

I've got a multisite installation: 2 websites: "Europe" and "Asia". Europe has 2 stores: "France" and "Germany". And "Asia" has only one store: "China". "France" store as one storeview: "French". "...
1
vote
0answers
89 views

send email function

I know it doesn't work but how can i fit $salesData and $salesData2 into the send email function? $salesData['email'] = Mage::getStoreConfig('trans_email/ident_custom3/email'); $salesData['name'] =...
1
vote
1answer
515 views

Mail function fails

For some reason mail() function fails when we try to send emails, I debugged the Magento base code and I found that it generates a call to mail function like this: $result = mail('test@test.net', 'My ...
1
vote
1answer
1k views

Which event capture mail sending information in magento 2

My requirement is capture email subject, from address . and email body content , for all kind of mail sending Which event capture mail sending information in magento 2