-
-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test Mail Working well usgin the extension but magento 2 is not sending any emails #101
Comments
@rintish ... After entering your credential, did you get one or two test email? |
@srenon yes, I get 2 test email. |
@srenon I try many time manually send email in order section but there is no mail coming in my mail account and I create new user there is no welcome mail comes and forgot password mail not comes using your extension testing mail working well but all other mail has been not sending After put username and password clear all cache, re-indexing and crong job working well. all thing try but can't get solution. |
This is an issue that I can not reproduce (#71), therefore I can not fix it without access to a store with the issue. What I would recommend
|
@rintish .... Are you still having issues? |
Hi! I have the same problem. I'm getting transaction mails with blank FROM field. Of course I have configured E-mails in the shop configuration. I configured my own SMTP server |
@mdivpl ... Are you running single or multi-store? |
I have: single store, Magento 2.2.3, magento2-gmail-smtp-app 2.5.0. I noticed that, when I set: "Set From" -> Yes, "Set Reply-to" -> Custom and I write an email in the field "E-mail for reply" than I'm getting the emails with "FROM" mail from "E-mail for reply" It's looking like problem with getting the fiels from magento settings in regards Shop's emails. |
@mdivpl .... you stated that you are having the same issue as the previous user (which is not getting email).... but you also stated that you are getting the email from the reply-to address. So I'm not 100% sure I understand your issue |
I made a few tests again and you right, it's not the same problem. Generally sending the emails working, but I'm getting the emails with blank "FROM" information. When I'm sending test email, I'm getting first (1/2) email correct with "FROM" header and second one blank (2/2). Any emails form magento are sending with blank information "FROM:" Should I open new issue? |
Take a look at #101 (comment) and check what email is pass to line number 94. It is possible that your mail server is changing the "from" address (for security reason) |
I'm sorry, but I'm not good skill in php and magento. Can you explain what you mean about 'admin testing screen'? If you bring how to do it link. I will be grateful. I would like to check this variable. |
hi if i test my smtp configuration i got the following error but the test email arrives.. if i create an account or place an order i don't get any email. in the logs i can find only the error mentioned. thx! |
@PeRoland... Did you get one or two emails (during testing)? Your error should have something to do with you SSL cert ... see https://stackoverflow.com/questions/17084886/ssl-error-routinesssl3-get-server-certificatecertificate-verify-failed |
only one |
During testing, you should get 2 emails. The first one test basic server config using Zend_Smtp |
Same problem for me with Magento 2.3.2 + php 7.2 . SMTP works in test mode , but I can't send an invoice, for instance. I removed sendmail to make sure it does not fall back to php mail() . BTW, only the first 1/2 mail arrives. I'm trying Amazon SES. |
@jpelayo ... if you having an issue please open a new ticket. Also, all our test environment use of Magento 2.3.1 with PHP7.2.x or Magento 2.3.2 with PHP 7.1.x without any issues. So more than like your issue is caused by something in your environment. |
Is there any indication I can follow to debug this? There is no trace of the problem in the logs and I can't figure out a starting point. |
Enable x-debugger https://github.com/magepal/magento2-gmail-smtp-app/blob/master/Plugin/Mail/TransportPlugin.php#L60 then try resending an order confirmation email |
For now, I added a debug message to see if it entered: if ($this->dataHelper->isActive()) { And it did: Then I took a look at /var/log/maillog and saw that local postfix/smtp was used; I uninstalled postfix and then main.ERROR: Unable to send mail: Unknown error [] [] Looks like somehow it was using php Mail() instead of SMTP |
@jpelayo.... Base on your previous message I can not tell if your issue is fixed or not, but it more than clear that it is a server config issue and not an extension issue. Let me know if you need some referral to Magento hosting provider that normally have zero issues with our SMTP extension. |
I have Magento version 2.2.0 (Multi-store)
PHP Version 7.0.27 & I have used Zoho SMTP
Test mail is working well but any transanal mail is not sending.
The text was updated successfully, but these errors were encountered: