Coder Social home page Coder Social logo

magepal / magento2-gmail-smtp-app Goto Github PK

View Code? Open in Web Editor NEW
317.0 25.0 148.0 285 KB

Configure Magento 2 to send email using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 and many other SMTP (Simple Mail Transfer Protocol) servers

Home Page: https://www.magepal.com

PHP 97.52% JavaScript 1.45% Less 1.03%
magento-2 magento2-extension gmail-smtp gmail ses smtp magento custom-smtp office365 amazon-ses

magento2-gmail-smtp-app's Introduction

Magento 2 SMTP Extension - Gmail, G Suite, Amazon SES, Office 365, Mailgun, SendGrid, Mandrill and other SMTP servers.

Total Downloads Latest Stable Version GitHub stars GitHub forks

For Magento / Adobe Commerce 2.0.x, 2.1.x, 2.2.x, 2.3.x and 2.4.x

OAuth SMTP Extension

Are you tired of dealing with the hassle of managing email password? Don't wait any longer to upgrade to OAuth. Contact us at [email protected] to learn more about our revolutionary OAuth SMTP Extension.

Configure Magento 2 / Adobe Commerce to send all transactional emails using Google App, Gmail, Amazon Simple Email Service (SES), Microsoft Office365 or any other SMTP servers.

Magento SMTP Extension

Sending transactional emails to customers is a vital part of running an e-commerce store. Our free custom Magento extension integrates with all major email service providers and third-party SMTP servers to reliably deliver messages to customers' inboxes.

What is SMTP - Simple Mail Transfer Protocol

SMTP or Simple Mail Transfer Protocol allows you to send emails from your Magento 2 store through a specific third-party mail SMTP server. For example, if you want to use your Gmail, Amazon, Microsoft or any other mail server account to send email from your Magento web store, all you need is to configure that mail server setting in our extension in Magento without having to do any complex server configuration.

Magento SMTP Email Extension

Why use a Custom SMTP Server with Magento

By default, most hosting companies' mail servers are configured to send email from unauthorized senders which prevents emails from reliable delivered to recipients. Therefore, most Magento store owners struggle to limit the number of transactional emails that end up in clients' junk mail. Take full control of your email sending settings in Magento 2 and reduce sending emails to your valuable customers' junk mail folder. Emails are delivered instantaneously to their intended recipients without delays or get trap in the spam folder.

Out of the box, Magento 2 doesn't provide the ability to specify your custom SMTP settings for outgoing emails using an external SMTP server. Using this extension bridges the gap and allows your Magento store to connect to your preferred email provider securely and easily.

All you need is either an (i) free Gmail account, (ii) paid Google Apps account or any other SMTP service (i.e Amazon Simple Email Service / Amazon SES, Microsoft Office365).

Learn more about our custom SMTP extension.

NOTE - Gmail / Google Account

To help keep your account secure, starting May 30, 2022, ​​Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password.

Please note this deadline does not apply to Google Workspace or Google Cloud Identity customers. The enforcement date for these customers will be announced on the Workspace blog at a later date.

For more information, please continue reading.

Special Note on Apple Device Sign-Ins. Users who have not recently signed into their Google Account using only username and password will be able to only make new sign in attempts using the Google account type starting from February 28, 2022. Existing users may continue to sign into their Google Account using their username and password until May 30, 2022.

Benefits of using Gmail SMTP

Since Google's, Gmail and G Suite SMTP server does not use Port 25, you'll reduce the probability that an ISP might block your email or flag it as SPAM. Also, all your emails sent from Magento will be searchable and backed-up in your email account on Google's servers.

Features

  • Send emails through virtually any external SMTP server from your Magento store
  • Easily configure Magento 2 SMTP settings from within Magento2 store admin
  • Complete control of custom SMTP server settings: Hostname, Port, Username, Password, ...
  • Self-test option, which lets you verify your email credentials are correct before saving
  • Support Multi-store, configurable different email providers/accounts per store
  • Support secure SMTP servers: TLS / SSL, Plain-text, username/password, CRAM-MD5 authentication
  • Customize email headers: From / Reply-To / Return-Path
  • Easily disable/enable our extension from admin
  • Developer Friendly
  • Integrate with any third-party SMTP server

Get more from your order confirmation emails by promoting other complementary products and services. Learn more about our new Enhanced Transactional Email extension.

Documentation

SMTP Service Providers

  • Gmail
  • Google App
  • G Suite
  • Amazon Simple Email Service (SES)
  • Microsoft Office365
  • Outlook
  • SparkPost
  • GoDaddy
  • Mandrill
  • MailGun
  • SendGrid
  • Elastic Email
  • Hotmail
  • AOL Mail
  • Yahoo Mail
  • AT&T
  • Verizon
  • Postmark
  • O2 Mail
  • Zoho
  • Mailjet
  • Mail.com
  • Your Company SMTP Server
  • and many other SMTP servers

How to Install Magento SMTP Extension

Using Composer (recommended)
composer require magepal/magento2-gmailsmtpapp

Contribution

Want to contribute to this extension? The quickest way is to open a pull request on GitHub.

Support

If you encounter any problems or bugs, please open an issue on GitHub. For fast Premium Support visit our Custom SMTP Extension product page for detail.

Need help setting up or want to customize this extension to meet your business needs? Please email [email protected] and if we like your idea we will add this feature for free or at a discounted rate.

Magento 2 Extensions

© MagePal LLC. | www.magepal.com

magento2-gmail-smtp-app's People

Contributors

allen-infante avatar avoelkl avatar bangerkuwranger avatar bodyanuk avatar hryvinskyi avatar ihorvansach avatar josephmaxwell avatar kdckrs avatar keevitaja avatar leekung avatar maderlock avatar maqlec avatar neddy236 avatar pascalbrouwers avatar sergey-nechaev avatar sprankhub avatar srenon avatar vmalyk avatar yonn-trimoreau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

magento2-gmail-smtp-app's Issues

Connection timed out in Transport.php:78

Hi, great tool.
But i get a Timeout.

Next Magento\Framework\Exception\MailException: Connection timed out in /home/forge/domain.com/vendor/magepal/magento2-gmailsmtpapp/Model/Transport.php:78
Stack trace:
#0 /home/forge/domain.com/app/code/Magento/Customer/Model/EmailNotification.php(239): MagePal\GmailSmtpApp\Model\Transport->sendMessage()
#1 /home/forge/domain.com/app/code/Magento/Customer/Model/EmailNotification.php(320): Magento\Customer\Model\EmailNotification->sendEmailTemplate(Object(Magento\Customer\Model\Data\Customer), 'customer/passwo...', 'customer/passwo...', Array, '1')
#2 /home/forge/domain.com/app/code/Magento/Customer/Model/AccountManagement.php(507): Magento\Customer\Model\EmailNotification->passwordResetConfirmation(Object(Magento\Customer\Model\Data\Customer))
#3 [internal function]: Magento\Customer\Model\AccountManagement->initiatePasswordReset('k.veen@microdes...', 'email_reset', '1')
#4 /home/forge/domain.com/lib/internal/Magento/Framework/Interception/Interceptor.php(146): call_user_func_array(Array, Array)
#5 /home/forge/domain.com/var/generation/Magento/Customer/Model/AccountManagement/Interceptor.php(91): Magento\Customer\Model\AccountManagement\Interceptor->___callPlugins('initiatePasswor...', Array, Array)
#6 /home/forge/domain.com/app/code/Magento/Customer/Controller/Account/ForgotPasswordPost.php(72): Magento\Customer\Model\AccountManagement\Interceptor->initiatePasswordReset('k.veen@microdes...', 'email_reset')
#7 /home/forge/domain.com/var/generation/Magento/Customer/Controller/Account/ForgotPasswordPost/Interceptor.php(25): Magento\Customer\Controller\Account\ForgotPasswordPost->execute()
#8 /home/forge/domain.com/lib/internal/Magento/Framework/App/Action/Action.php(102): Magento\Customer\Controller\Account\ForgotPasswordPost\Interceptor->execute()
#9 [internal function]: Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))

Warning and mail not send

Hello,

Trying to use the module with my SMTP (TLS) and receiving following message:

Result

Warning: stream_socket_enable_crypto(): Peer certificate CN=*.icnhost.net' did not match expected CN=mail.myshop.eu' in /usr/share/nginx/html/magento2/vendor/magento/zendframework1/library/Zend/Mail/Protocol/Smtp.php on line 206

Magneto is running on different machine (subdominant A record) and mail is on hosting provider service.

Full SMTP

Hello .. Good evening

I just installed your module and see that only has the possibility of using Gmail, I use Zoho, it would be possible I use another type of SMTP service?

Does not work ...

Hello,

I found this idea awesome but I can't make it work !

I tried twice with the following credentials:

  • SMTP with an email address from OVH (port 587) [I should use STARSSL thus I think it comes from this missing parameter]
  • SMTP with a google account (port 465, I tried with "smtp.googlemail.com" and "smtp.gmail.com") but it does not work as well

Do you have any idea to solve this ?

I really think that this is a great plugin

Best

Matt

E-mail test works but nothing else is sending

Hello. I have just installed this extension and set up my configuration for Gmail apps. I did the test e-mail and it works, but actual transaction e-mails aren't being sent. Is there an additional configuration I need to set somewhere? Thanks.

Will not install: composer require magepal/magento2-gmailsmtpapp fails

when I run
composer require magepal/magento2-gmailsmtpapp

I get the following error
bitnami@ip-172-31-17-133:~$ composer require magepal/magento2-gmailsmtpapp
Using version ^1.4 for magepal/magento2-gmailsmtpapp
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for magepal/magento2-gmailsmtpapp ^1.4 -> satisfiable by magepal/magento2-gmailsmtpapp[1.4.0].
- magepal/magento2-gmailsmtpapp 1.4.0 requires magento/module-backend 100.0.|100.1. -> no matching package found.

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

Installation failed, deleting ./composer.json.

Magento 2.1.2, BitNami, AWS, (fresh install)

NOT AN ISSUE...

Hello,

Just thought I'd suggest to whoever manages this repo, that this extension works perfectly with Microsoft Office365.
Notes to make it work:
Auth Method: Login
SSL Type: TLS
SMTP Host: smtp.office365.com
Port: 587
Username: [email protected] (replace donotreply with an ACTUAL licensed account in O365)
Set Reply-to: yes

in Office 365:
Set up an exchange connector from "your organization's email server" to Office 365, and specify by IP, and add your Magento 2 servers public IP.

Lastly: Make sure any other email addresses you want the [email protected] to send as, that THOSE accounts have the [email protected] address in its send-as field.

Feel free to add this to the Front Page Wiki.

Error CSS 404

I installed locally this extension and CSS are no longer included correctly.

The styles-m.css files and styles-l.css give a 404 error.

I sapate say why does this happen please?

5.7.8 Username and Password not accepted

Hi I tried testing email but keep getting this message. I've done the following.

  1. no 2 step authentication
  2. allow less secure apps
  3. turn off captcha

tried both TLS and SSL but still the same error. Is there a way around this?
thanks!
A

Email not being sent, but backend Test email is working

Thank you for the extension, I've installed and set up with Zoho.

The backend Test mail is sent perfectly, but any other email is not sent.

On contact page it gives this error:

We can't process your request right now. Sorry, that's all we know.

Magento 2.1.2
PHP 7.0.12

Any idea on how to fix it?

Thanks!

Not able to send mails. M2.1.0 + AWS SES

I am trying to send transaction mails from Magento 2.1.0 + AWS SES configured through this extension.

Errors:
[2016-08-04 12:20:39] main.CRITICAL: Zend_Mail_Protocol_Exception: Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1: [email protected]

Next Magento\Framework\Exception\MailException: Message rejected: Email address is not verified. The following identities failed the check in region US-EAST-1: [email protected]
in /opt/bitnami/apps/magento/htdocs/app/code/MagePal/GmailSmtpApp/Model/Transport.php:78

My configurations are:
Auth method: Login
SSL: TLS (I tried SSL too)
Server details and credentials.
Set reply to and set return path: Yes.

Point to note that [email protected] is a recipient address and there is no need to verify that. Sender address which is [email protected] is verified.

Help me crack this.

Password missing from settings

We have noticed the password drops out of the settings if the server is rebooted.

Is there a way of having the server store the password so it remains after a reboot?

Warning: stream_socket_enable_crypto(): Peer certificate CN

Hello. I was able to get this extension to work for a few days but now no e-mails are being sent. When I try the test send an e-mail, I get:

Warning: stream_socket_enable_crypto(): Peer certificate CN=`*.somehost.host' did not match expected CN=`smtp.gmail.com' in /home/mydir/public_html/vendor/magento/zendframework1/library/Zend/Mail/Protocol/Smtp.php on line 206

I'm not entirely sure what the above means. If anyone can help me on this, that would be great.

Can't Save the Customer

So I had a problem that I thought was relating to other plugins. But customers can't save, and Pending Registrations won't process, all because of email being sent out. I thought it was because of this plugin first, but then when disabling something I thought that the problem went away, so I thought it was other 3rd party plugins. But it's not, after doing further research and disabling all the other 3rd party plugins I'm seeing the same error. And after tracking it down further I'm seeing it's directly relating to this plugin.

When trying to save a customer it keeps coming up with an error that it can't save the customer from the front end, or from the backend it was creating the customer, but showing an error about the email.

When creating a customer I get this exception:

[2017-03-03 19:15:22] main.CRITICAL: Exception message: Warning: strtr() expects parameter 1 to be string, array given in /var/www/html/vendor/magento/zendframework1/library/Zend/Mail.php on line 1216 Trace: #0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'strtr() expects...', '/var/www/html/v...', 1216, Array) #1 /var/www/html/vendor/magento/zendframework1/library/Zend/Mail.php(1216): strtr(Array, Array) #2 /var/www/html/vendor/magento/zendframework1/library/Zend/Mail.php(683): Zend_Mail->_filterEmail(Array) #3 /var/www/html/vendor/magepal/magento2-gmailsmtpapp/Model/Transport.php(58): Zend_Mail->setFrom(Array) #4 /var/www/html/var/generation/MagePal/GmailSmtpApp/Model/Transport/Interceptor.php(14): MagePal\GmailSmtpApp\Model\Transport->__construct(Object(Magento\Framework\Mail\Message), Object(MagePal\GmailSmtpApp\Helper\Data)) #5 /var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(93): MagePal\GmailSmtpApp\Model\Transport\Interceptor->__construct(Object(Magento\Framework\Mail\Message), Object(MagePal\GmailSmtpApp\Helper\Data)) #6 /var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(89): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('MagePal\\GmailSm...', Array) #7 /var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('MagePal\\GmailSm...', Array) #8 /var/www/html/vendor/magento/framework/Mail/TransportInterfaceFactory.php(50): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #9 /var/www/html/vendor/magento/framework/Mail/Template/TransportBuilder.php(228): Magento\Framework\Mail\TransportInterfaceFactory->create(Array) #10 /var/www/html/vendor/magento/module-customer/Model/EmailNotification.php(237): Magento\Framework\Mail\Template\TransportBuilder->getTransport() #11 /var/www/html/vendor/magento/module-customer/Model/EmailNotification.php(363): Magento\Customer\Model\EmailNotification->sendEmailTemplate(Object(Magento\Customer\Model\Data\Customer), 'customer/create...', 'customer/create...', Array, 1) #12 /var/www/html/vendor/magento/module-customer/Model/AccountManagement.php(777): Magento\Customer\Model\EmailNotification->newAccount(Object(Magento\Customer\Model\Data\Customer), 'registered', NULL, 1) #13 /var/www/html/vendor/magento/module-customer/Model/AccountManagement.php(737): Magento\Customer\Model\AccountManagement->sendEmailConfirmation(Object(Magento\Customer\Model\Data\Customer), NULL) #14 /var/www/html/var/generation/Magento/Customer/Model/AccountManagement/Interceptor.php(141): Magento\Customer\Model\AccountManagement->createAccountWithPasswordHash(Object(Magento\Customer\Model\Data\Customer), '2cea6e76ad552ab...', NULL) #15 /var/www/html/vendor/magento/module-customer/Model/AccountManagement.php(662): Magento\Customer\Model\AccountManagement\Interceptor->createAccountWithPasswordHash(Object(Magento\Customer\Model\Data\Customer), '2cea6e76ad552ab...', NULL) #16 /var/www/html/var/generation/Magento/Customer/Model/AccountManagement/Interceptor.php(128): Magento\Customer\Model\AccountManagement->createAccount(Object(Magento\Customer\Model\Data\Customer), 'Test1111', NULL) #17 /var/www/html/vendor/magento/module-customer/Controller/Account/CreatePost.php(277): Magento\Customer\Model\AccountManagement\Interceptor->createAccount(Object(Magento\Customer\Model\Data\Customer), 'Test1111', NULL)

It seems to still be referencing this plugin.

Amazon SES

Hello,

Can you provide some guidelines on how can I make this work with Amazon SES?

Thanks,
Mian

Test email not working after save

Hi All,
I able sent test email before press "Save Config" button. But test email not working after press "Save Config" button and received invalid username and password message. Store email also not sent.

Details:
Magento 2.1.1
MySQL 5.7.14
PHP 7.0.10

I have already reviewed below link. Suspect, not applicable for Magento 2.1.1
#7

Kindly help to resolve the issue. #

Config for specific store does not work

The default, global, config works as expected, I can send email.
When I specify a different user and password for one specific website, emails do not go out and I get an invalid username/password error. I am 100% sure about by username and password as I tested them in the global config and it works. Also, if both account have the same password, it works.

The error I get:

5.7.8 Username and Password not accepted. Learn more at 5.7.8 https://support.google.com/mail/?p=BadCredentials n9sm12222140wrn.40 - gsmtp

Saving SES password seems to fail

Hello,

When I change the admin settings, I can send a test mail. After saving however, mailing doesn't work and when I try to send a test mail again, it says bad auth. Magento 2.1.2. php 7

Following error in debug when creating new customer account:

Next Magento\Framework\Exception\MailException: 5.7.8 Username and Password not accepted. Learn more at
5.7.8 https://support.google.com/mail/?p=BadCredentials r138sm8159556wme.9 - gsmtp
in /opt/bitnami/apps/magento/htdocs/app/code/MagePal/GmailSmtpApp/Model/Transport.php:80

No port specified so defaults to 25

Although you mention that port 25 is not used, there is no port specified in the code, so port 25 will be used, with any throttling, blocking etc. that may come with that, especially on AWS

I think the change to support a port would be simple, as the port just needs adding to $smtpConf in \MagePal\GmailSmtpApp\Model\Transport.

Multisotre: Mail send from backend(change status, comments) are send with bad domain

Hello,
We have setup Magento2 with Multistore on two saperate domains with gmailsmtpapp.
If client make order from domain1.com then mail came from domain1.com ( this behavior is OK.)
But if Administrator log to backend http://domain2.com/admin/ and navigate to orders and change somthing in customer order from domain1.com then client get mail from domain2.com(witch administrator is logged) ( this behavior is bad).

I think sending e-mail to customer from backends should be independend on domain where administrator is log in. Customer should get mail from domain1.com where he make order.

What do you think about this?

README.md unclear

Dear ms/sr,
Could you be more clear on how to install this plugin on a downloaded magento installation?

  1. I have added to the composer.json file the following line: "magepal/magento2-gmailsmtpapp": "1.0.3"
  2. At System > Web Setup Wizard > Component Manager nothing is visible after sync

Could not open socket

I have tried both SSL and TLS.
I have tried both smtp.gmail.com and smtp.googlemail.com
I have tried enabling "Allow less secure apps" in my gmail account

I am using this on a Fedora 24 box, fully updated.
PHP version 5.6.27
ZEND engine 2.6.0
Magento 2.1.2

Nothing seems to work, always get the same error "Could not open socket". Am I missing something? Please let me know if there's something else I should try to get this working.

Thanks.

Test email is working but no other emails send.

Today I installed the extension and after configuration I'm able to send succesfully the test email.
Unfortunately no emails are send via the Contact Form and also no Transactional Emails.

Cleaned the cache many times but nothing helps.

Strange thing is that the GUI shows the message 'Thanks for contacting us with your comments and questions. We'll respond to you very soon.' after the Contact Form is submitted.

Before I installed this exstension I had the standard email option enabled and saw mails initiated. This gives me the impression that in priciple Magento itself is configured properly, /home/xxxxxx/.php/php-mail.log shows:
[03-Jan-2017 21:03:47 UTC] mail() on [/home/xxxxxxxxxx/public_html/vendor/magento/zendframework1/library/Zend/Mail/Transport/Sendmail.php:106]: To: xxxxxxxxxx -- Headers: From: xxxxxxxxxx Reply-To: xxxxxxxxxx Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline MIME-Version: 1.0

My configuration is:
Gmail Smtp App v1.4.0
Magento version 2.1.3
PHP Version 7.0.13

not compatible with PHP 7?

Could not find package magepal/magento2-gmailsmtpapp at any version matchin
g your PHP version 7.1.2.0

Blocking Orders from being placed

So I've installed this and it seems to work really well. I've been testing it and emails work fine. Forgotten password sends off an email. Changing a password email goes out.

But then I try to place an order. If you place an order from the frontend it just says that the order failed. And I had no idea what was causing it. But then finally I placed an order from the admin and it came with a more specific error "Invalid MAIL FROM address provided". So I realized it was this module. Disable this module and I can place orders on the frontend and admin.

I don't understand why it's getting this error though. I've verified the domain and several emails in Amazon. Not to mention emails are sending just fine. Everything except order emails. This will not send an order email at all, and prevents any orders from even being placed.

I've played with what little settings there are such as Set Reply to, Set Return Path, Set From. And none of the settings change anything whether it's Yes or No.

Is there some log I could be checking? I don't even know what email it's trying, and why is it different than every other email that goes out? Maybe I can change the Order email some how? Although all the Magento from emails are set identical and it's verified in Amazon. Seems to be something strange going on, any help would be appreciated.

Add STARTTLS Encryption Method

Hi,

as Office365 SMTP Server now uses STARTTLS Encryption Method, please add it to your module.
Thanks.

Regards,
Ivan

Can this app be used as send-only email from website without any other server such Postfix ?

Can this app be used as send-only email from website without any other server such Postfix ?

I have 2 domains hosted on Godaddy, Godaddy has my DNS.

In DNS I pointed both webistes to my VPS ip and installed two Magento 2 websites.

I pointed mail to yandex, so my email for my domains are via yandex mail servers.

I installed this magento2-gmailsmtpapp to both of my magento 2 websites. Configured everething and each domain sends emails as expected.

As an experiment I removed Postfix and Dovecot from my vps but this app continue to work on each of websites as usual ! How that can be? Is this app acts as a send-only mail server?

I scanned the ports and looks like port ( 111 portmapper, rpcbind ) is open, is this related to this app?

Questions 1: Can this app be used as send-only emails without Postfix?

Question 2: In this app can I add DKIM or SPF to each of domains? Thank you

1

My config:
Centos 7
PHP 7
Mysql 5.6
Apache 2.4

Email not being sent while test emails working perfectly

This extension is not triggering any email on order (did not tested for other transnational emails) while test emails are working fine.

Other Details:
Magento version: 2.1
Server detail: Nginx, firewall (fail2ban / iptables)

Thanks

when save config. then can't send mail.

php7.07 magento2.1.2
if don‘t save config,it's ok.but,when save config,then can't connect the smtp server.
it's seems the password can't save.if save then bug.

Issue when compiling site

I just followed your instructions to install this app. The installation appears to go ok except I'm getting the following error when running: magenta setup:di:compile

I'm now unable to use my site (white screen on admin login). Any ideas???????

Errors during compilation:
MagePal\GmailSmtpApp\Controller\Adminhtml\Test\Index
Extra parameters passed to parent construct: $dataHelper. File: /var/www/html/magento/app/code/MagePal/GmailSmtpApp/Controller/Adminhtml/Test/Index.php
MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\TestButton
Incorrect dependency in class MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\TestButton in /var/www/html/magento/app/code/MagePal/GmailSmtpApp/Block/Adminhtml/System/Config/TestButton.php
\Magento\Framework\UrlInterface already exists in context object
Total Errors Count: 2
Errors during compilation:
MagePal\GmailSmtpApp\Controller\Adminhtml\Test\Index
Extra parameters passed to parent construct: $dataHelper. File: /var/www/html/magento/app/code/MagePal/GmailSmtpApp/Controller/Adminhtml/Test/Index.php
MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\TestButton
Incorrect dependency in class MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\TestButton in /var/www/html/magento/app/code/MagePal/GmailSmtpApp/Block/Adminhtml/System/Config/TestButton.php
\Magento\Framework\UrlInterface already exists in context object
Total Errors Count: 2
Errors during compilation:
MagePal\GmailSmtpApp\Controller\Adminhtml\Test\Index
Extra parameters passed to parent construct: $dataHelper. File: /var/www/html/magento/app/code/MagePal/GmailSmtpApp/Controller/Adminhtml/Test/Index.php
MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\TestButton
Incorrect dependency in class MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\TestButton in /var/www/html/magento/app/code/MagePal/GmailSmtpApp/Block/Adminhtml/System/Config/TestButton.php
\Magento\Framework\UrlInterface already exists in context object
Total Errors Count: 2

Warning: include_once(Zend/Mail/Protocol/Smtp/Auth/LOGIN.php)

Thanks for this module. Install looks fine, I'm able to enter my credentials in Store/Config/Advanced/System, but when I try to send an email I'm getting this error:

main.ERROR: Warning: include_once(Zend/Mail/Protocol/Smtp/Auth/LOGIN.php): failed to open stream: No such file or directory in /var/www/magento2/vendor/magento/zendframework1/library/Zend/Loader.php on line 134

backend test mail & contact form not working

I'm running Magento on a development server (not local machine)
I point the domain, via hosts file, to dev server IP.

I've installed and set up the module, as explained. But In the backend when I try to send a "test mail" it says: connection time out.

on contact us page it gives me this:
We can't process your request right now. Sorry, that's all we know.

Magento 2.1.0
PHP Version 5.6.15

Configuration Setting not showing after manual installation

Dears,
I am trying to install this extension following the instruction in a Mac using MAMP php7 and magento 2.1

the installation is successful and the module is in config.php

'MagePal_GmailSmtpApp' => 1,

if I go to tores -> Configuration -> Advanced -> System ->
All i can see is just the following blank page

screen shot 2016-11-28 at 13 08 59

[2016-11-28 12:32:35] main.CRITICAL: Class MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\Version does not exist [] []
[2016-11-28 12:32:35] main.CRITICAL: Invalid block type: MagePal\GmailSmtpApp\Block\Adminhtml\System\Config\Version [] []

Am I missing something?

Invalid Sender Data

Previous issue was I couldn't complete orders because of an invalid "Mail FROM" error coming back from Amazon. I fixed that issue by just using Google Apps, so that no verification was needed.

But with Google Apps I cannot verify customers. Our store is set that new customers are just pending and must be approved since it's primarily a Wholesale site. So now when I click to approve a customer it emails that customer that their account has been approved. But I can't approve any accounts because it comes back "Invalid Sender Data" when trying to send the email.

So with Amazon SES everything works excepts orders. With Google Apps Email, everything works except approving customers. So I guess we can have a store that doesn't allow orders, or doesn't allow customers. LOL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.