Bagisto Forum

    Bagisto

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

    Mail server integration

    General Discussion
    6
    14
    2615
    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.
    • A
      aroobaarooj499 last edited by

      Can Someone guide me about integration of mail server to send verification and subscription mails in bagisto?

      1 Reply Last reply Reply Quote 0
      • ghermans
        ghermans last edited by ghermans

        Hi @aroobaarooj499,

        Bagisto currently has 2 methods to configure the mail settings.

        1. Use the web gui installer when you install Bagisto
        http://yourshop/installer

        2. Define your mail server settings manually in .env

        • Open .env
        • Edit the current values with your own:
        MAIL_DRIVER=smtp
        MAIL_HOST=smtp.mailtrap.io
        MAIL_PORT=2525
        MAIL_USERNAME=
        MAIL_PASSWORD=
        MAIL_ENCRYPTION=tls
        
        SHOP_MAIL_FROM=
        ADMIN_MAIL_TO=
        

        Kind regards,
        Glenn Hermans

        Manager Bagisto Europe
        info@bagisto.eu

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

          Thank You @ghermans

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

            hi @ghermans
            can you guide me a lil more? .. actually i configured mailtrap.io ,the way you told me but it's still not working

            1 Reply Last reply Reply Quote -1
            • S
              shenzhen last edited by shenzhen

              env.png

              PLEASE HELP I DID EVERYTHING YET NOT WORKING

              1 Reply Last reply Reply Quote 0
              • sanjay-webkul
                sanjay-webkul last edited by

                Hi there,
                Please add this field also :
                SHOP_MAIL_FROM=shop@bagisto.com
                ADMIN_MAIL_TO=admin@bagisto.com
                MAIL_FROM_NAME=Admin

                1 Reply Last reply Reply Quote 0
                • S
                  shenzhen last edited by

                  Just did, not working still

                  1 Reply Last reply Reply Quote 0
                  • sanjay-webkul
                    sanjay-webkul last edited by

                    Run this command and try again then check on your mail trap dashboard you will received the email.

                    php artisan optimize:clear
                    1 Reply Last reply Reply Quote 0
                    • S
                      shenzhen last edited by

                      @sanjay-webkul said in Mail server integration:

                      php artisan optimize:clear

                      I use a host not server or vps and no option to run that comand

                      1 Reply Last reply Reply Quote 0
                      • S
                        shenzhen last edited by shenzhen

                        i noticed it has to do with the cache still remembering the old SMTP logins, so i deleted ( bootstrap / cache / config.php ) and all was fine ... thanks

                        BrotherAlameen 1 Reply Last reply Reply Quote 0
                        • sanjay-webkul
                          sanjay-webkul last edited by

                          Hi There,
                          Thanks for the update.
                          Also, if you like our support, you may give us the review here:- https://www.trustpilot.com/review/bagisto.com

                          That would be grateful for us.

                          Thanks & Regards,

                          1 Reply Last reply Reply Quote 0
                          • BrotherAlameen
                            BrotherAlameen @shenzhen last edited by BrotherAlameen

                            @shenzhen said in Mail server integration:

                            php

                            I have the same issue here, I deleted the config.php file but it made the site completely unresponsive; I have the files in recycle bin of my hosting. Is there any other way to clear the cache from a web server that operates hosting?

                            Alameen Karim Merali

                            1 Reply Last reply Reply Quote 0
                            • sanjay-webkul
                              sanjay-webkul last edited by

                              HI there,
                              Delete the cache folder inside the bootstrap/cache on your project root directory. and create a new cache folder in the same location.
                              And run the below command.

                              php artisan optimize:clear
                              1 Reply Last reply Reply Quote 0
                              • N
                                nayana092 last edited by

                                @sanjay-webkul said in Mail server integration:

                                SHOP_MAIL_FROM=shop@bagisto.com
                                ADMIN_MAIL_TO=admin@bagisto.com
                                MAIL_FROM_NAME=Admin

                                I have the same issue when I try to send mails using mail smtp it is not working but if I try it with mail trap it is working any idea why

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