Bagisto Forum

    Bagisto

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    Regarding mail functionality

    General Discussion
    9
    11
    937
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dsharma last edited by dsharma

      Hello,

      As a user when i am placing an order then mail is not going to user.

      What can be the reason please tell.

      I followed your functionality.

      Regards
      Deepak sharma

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi @dsharma

        Make sure that you have configured mail correctly and have provided valid credentials.

        Thanks

        D 1 Reply Last reply Reply Quote 0
        • D
          dsharma @rahul last edited by

          @rahul

          hello thanks for your reply yes my credentials are correct. I am unable to fine from where you are sending mail notification when an order is placed.

          1 Reply Last reply Reply Quote 0
          • A
            aroobaarooj499 last edited by

            I am facing the same problem .. I configured mail server correctly still it's not working....

            1 Reply Last reply Reply Quote 0
            • A
              aschidlovsky last edited by

              I am also facing the same problem. Please help.

              1 Reply Last reply Reply Quote 0
              • K
                Keerthi last edited by

                Hi @dsharma ,

                Please try this one.

                MAIL_DRIVER=sendmail
                MAIL_HOST=smtp.gmail.com
                MAIL_PORT=2525
                MAIL_USERNAME=YOUR MAILTRAP EMAIL ADDRESS
                MAIL_PASSWORD=YOUR PASSWORD
                MAIL_ENCRYPTION=ssl
                SHOP_MAIL_FROM=shop@bagsaas.com
                ADMIN_MAIL_TO=admin@bagsaas.com

                Thank you.

                A 1 Reply Last reply Reply Quote 0
                • A
                  alissonalberini @Keerthi last edited by

                  @Keerthi

                  I tested using several valid credentials (used in other applications), writing directly to .env and clearing the config cache
                  and yet it doesn't work.
                  does not write anything to the .log file, and no exceptions thrown on the screen.

                  1 Reply Last reply Reply Quote 0
                  • V
                    Vaishali Agarwal last edited by

                    @alissonalberini

                    go through with this configuration in the .env :-
                    MAIL_DRIVER=smtp
                    MAIL_HOST=smtp.mailtrap.io
                    MAIL_PORT=2525
                    MAIL_USERNAME=mailtrap_smtp_username
                    MAIL_PASSWORD=mailtrap_smtp_password
                    MAIL_ENCRYPTION=tls
                    SHOP_MAIL_FROM=shop@example.com
                    ADMIN_MAIL_TO=admin@example.com
                    MAIL_FROM_NAME=admin123

                    1 Reply Last reply Reply Quote 0
                    • J
                      jaseelpv last edited by

                      Hi, I was getting this error

                      Failed to authenticate on SMTP server with username "example@gmail.com" using 3 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "534", with message "534-5.7.9 Application-specific password required
                      

                      I have added the application-specific password and the mails like register, forget password are sending without any issues. But when I order something, I'm getting the above-mentioned error. Why is it. I'm I missing anything? Please help.

                      R 1 Reply Last reply Reply Quote 0
                      • V
                        Vaishali Agarwal last edited by

                        @jaseelpv
                        please check this https://stackoverflow.com/questions/26736062/sending-email-fails-when-two-factor-authentication-is-on-for-gmail

                        1 Reply Last reply Reply Quote 1
                        • R
                          ronaldgevern @jaseelpv last edited by

                          @jaseelpv said in Regarding mail functionality:

                          Failed to authenticate on SMTP server with username "example@gmail.com" using 3 possible authenticators. Authenticator LOGIN returned Expected response code 235 but got code "534", with message "534-5.7.9 Application-specific password required

                          Log in to your Gmail account through a web browser and enable access through less secure apps . Less secure apps can make your account more vulnerable, Google will automatically turn this setting off if it's not being used. However, bypass this security setting with a configuration tweak within your Google Email Account .

                          To do so, first head over to https://accounts.google.com/ → Security → Enable Less Secure Apps

                          Enabling access for "less secure apps" means that the client/app doesn't use OAuth 2.0 . OAuth 2.0 is the industry-standard protocol for authorization. When you sign in with OAuth 2.0, you sign in to Google's system directly. In OAuth 2.0 , you authenticate directly to Gmail with your credentials and authorize an app to do certain things. The third-party app only sees an authorization token provided by Google as proof that you authenticated correctly and agreed to authorize that app.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post