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
15 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
76 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
319 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
98 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
18 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
17 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
375 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
1k 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
776 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
46 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
215 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
256 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
669 views

send invoice email proagramtically magento2

in my custom module i want to send email with invoice to enather email. i created script: <?php namespace My\CustomScripts\Cron; class SendInvoice { protected $_invoiceSender; protected ...
0
votes
1answer
218 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
207 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
358 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
685 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
182 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
466 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
372 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
671 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
270 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
355 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
480 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
78 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
559 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
367 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
768 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
199 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
21k 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
382 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
78 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
966 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
270 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
389 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
432 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
536 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
88 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
506 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
989 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
0
votes
1answer
116 views

Magento Order Email Notification not sent to admin sometimes [duplicate]

I used magento application. Here sometimes order email sent to admin sometimes and sometimes not sending. I want to solve this issue.
0
votes
2answers
2k views

Magento cron doesnt send email at all

I have a magento installation (1.9.2.3) on a Bitnami AWS instance, I am trying to use the SMTP Pro extension ( source ) and use the Amazon SES feature. When I run the self-test it works and send the ...
0
votes
1answer
60 views

Which method is used in Magento Enterprise 1.14.2.1 to send new order emails

I am using $order = Mage::getModel('sales/order'); $order->loadByIncrementId($orderId); $order->setState(Mage_Sales_Model_Order::STATE_PROCESSING, true, 'Gateway has authorized the ...
3
votes
1answer
47 views

How to send mail by getting the details from database?

I had created a dropdown list with fields lab,pharmacy and food.When 1.I select the lab it has to send the mail for those islab checkbox is true. 2.when I select the pharmacy it has to send the ...
1
vote
3answers
2k views

SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'entity_id' cannot be null

I was recently tasked with debugging some faulty magento reset password email code. I have, I think, found the culprit of the faulty behavior but I am really confused as to how to resolve it. Here is ...
0
votes
1answer
856 views

Migrated Magento to new server. Cant get emails to send to customer

A little help please. We've migrated our Magento (1.7) to a new server. Everything is working fine except the email confirmation. We're receiving orders, payments, etc. But the emails are not ...