Magento 2.3 not sending order confirmation Email - magento

i've recently moved my Magento 2.3.5 website to a new provider and since then i have some issues.
The most annoying one is that order confirmation Emails are not sent out.
SMTP configuration is ok, test email works fine.
Mageplaza SMTP is installed and shows many entries (contact form, shipment confirmation) but no order confirmation emails.
I think it's a cron issue but don't know where to look sincerely..

Have you checked the log exception files

Related

Magento 2 Order Confirmation Emails Not Sending

Currently having an issue with order confirmation emails not sending.
I have looked at various forums / solutions and these haven't worked.
My existing setup is using the MagePlaza SMTP to send email using Mandrill, this is working through their test function and also the Forgotten Password and Create account emails are being sent but not the Order Confirmation emails.
I am using IWD One Step checkout but have also disabled this to try with Magento default checkout and it doesn't work using either.
Asyncronous sending is set to disabled but I have also tried with it enabled. Both times no order emails are sent.
As I'm using Mandrill I have checked their API logs and the API request isn't being sent.
Any help/suggestions appreciated.
It's possible that the "From" address is wrong.
Goto Stores -> Configuration -> General -> Store Email Addresses and check if "Sales Representative" Email address is correct.
There is known bug in Magento 2.2.4/2.2.5/2.2.6 and you might be afected by it:
https://github.com/magento/magento2/issues/14952.
TLDR: There is no from data set on email transaction and messeges aren't sending at all.
Try thisfix:
https://github.com/magento/magento2/issues/14952

Magento order mail are not going to customer?

My magento site stoped sending the order mail to customer, i have checked several answer, but nothing works for me.
I tried to send mail with php mail funtion, its working but mail going to spam also. Is this may be a reason?
This may be a server fault, it may be an issue of server mail configuration. Try to install some SMTP mail extension, it will be helpful for you. Also check if there any new installation of extension which causing problem
If mails are going to spam, then there may be chances of mis configuration in server, alternatively you can install the below extension & configure in backend , than mails will go to inbox....
https://github.com/aschroder/Magento-SMTP-Pro-Email-Extension
http://www.aschroder.com/product/smtppro-magento-smtp-email/

Why arent my sales emails sending?

All I have a fully working magento store but i'm having issues, when a customer purchases something they're not getting an email confirmation and I dont know why, everything is set up correctly, we receive emails when a customer submits items they want samples of they come through fine, even when you goto the backend and view the invoice and select send email invoice they don't get an email, I have no idea why this isn't working, any help would be greatly appreciated.
I'm using paypal payments pro as a payment method.
First of all, Magento 1.9+ send transactional emails as "background process" using the Magento crontab system. If you haven't already setup cron for your Magento store then you need to setup now for sending emails.
You can checkout this guide on how to setup the Magento cronjob -
http://www.magentocommerce.com/knowledge-base/entry/ce18-and-ee113-installing#install-cron
OR
Follow the steps below to setup cron job -
First of all make sure you have set up cron tasks in the `
Magento admin under System > Configuration > Advanced > System > Cron
The default settings are:
Generate Schedules Every 15
Schedule Ahead for 20
Missed if Not Run Within 15
History Cleanup Every 10
Success History Lifetime 60
Failure History Lifetime 600
You then need to go into your hosting control panel and set up cron jobs. In cPanel it’s under Advanced > Cron Jobs. Set them up to run every five minutes and use this command:
php -f /home/username/public_html/cron.php
Check that the above path is correct and that the file cron.php is actually there in the root of your Magento installation.
If this is not the case, you can check the database table: core_email_queue
The emails that should have been send should be in this queue, if not you should check your system configuration again, and maybe check on the store view your orders are from, to make sure the setting is not different under specific store view.
If the emails are there and have a date in the column processed at. You should check your Servers email log, since the receiver might be rejecting your emails, If its on a linux machine, its usually found in /var/log/mail.log
We have written a blog post here explaining how to setup CRON in Magento, i think this might explain in great detail.
There are various things this could be, but if the other emails are working it sounds like a config issue, so check this.
In admin, take a look in
System > Configuration (TOP MENU)
Then;
Sales Emails (LEFT MENU),
Check which contact is sending the email - eg Sales Rep. While you're here, add your personal email to the 'Send Order Copy To' field for testing - make sure it's not the same domain as the website, so like a gmail.com address or similar. Also check what email template is set and make sure it exists. If 'default from locale', check;
app/locale/[DEFAULT COUNTRY CODE]/template/email/sales/order_new_guest.html
app/locale/[DEFAULT COUNTRY CODE]/template/email/sales/order_new.html
Now go and check the email address set for the sender (New Order Confirmation Email Sender) - eg Sales Rep, these are in;
Store Email Address (LEFT MENU)
Ensure there is a value for email address and name, and it is correct. If it is, go and place an order using another personal email address at a different domain like gmail etc (not the same email address you set for the copy).
Hopefully the emails you do or dont recieve now will help you corectly trace the issue.
EXTRA
If you still receive no emails, couple of things to look at;
Check System > Config > Advanced and make sure smtp isnt disabled (seems unlikely as your other emails are sending)
Make sure paypal pro is setting the status to processed
Try changing the email address being used to send them, eg Sales
rep. Try changing this to an email address with a different domain,
such as gmail.com etc. If this works, then you need to look at how
your domain and email has been setup on the server.
Check your error logs /var/logs/

Magento - New Order mail not getting triggered to specific domain

Recently i deployed Magento store And made some test order,
where following observation i made on Transactional Emails.
New Order email is triggered to my gmail account, if i use account associated with it.
but when i used another account to make purchase, that order is placed but New order mail is not being triggered to that email.
Based on above observation i am afraid that theirs possibility that emails might not get delivered to some others emails also.
Now, I am looking for some solution that will solve this or possibility is that i might have missed some configuration.
please help
You can use SMTP Pro Email, which is an extension that allows Magento to send all its automatic emails, from any e-mail service you want, even your gmail account for example. With this solution, you can try several e-mail server/services and finally pick the one that is not blocked or flagged as SPAM.

Swiftmailer successfully sends but no mail received

I have made a simple contact form and use swiftmailer(with symfony2) to send and email.
Everything is fine when I'm using gmail account but on production it has to be a noreply address in website domain.
So I changed parameters to correspond this email account.
It looks like it is working a send method return true but no message is received, i checked a spam folder but it didn't get there either. Settings are 100% correct as they work in thunderbird.
Have no idea where to look for a problem. Any suggestions what should I check?
I have tried to send email with PHPMailer using same account and it worked so it seems problem is just with swiftmailer.
I'm sending emails in few more places in my project and would like to avoid changing it now but fix it instead.
After checking logs the problem was found.
Emails were rejected because I was setting From filed to email provided by user. Server was rejecting them because this address don't belong to account I was sending from.
By default the logging for swiftmailer is disabled in production. You can enable logging for swiftmailer in config.yml by adding a "logging: true" to the swiftmailer section as outlined here: http://symfony.com/doc/master/reference/configuration/swiftmailer.html#logging
Hopefully this will give you some more specific error messages to search on.

Resources