Bagisto Forum

    Bagisto

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

    Customer signup email not getting sent out in production

    General Discussion
    2
    5
    609
    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
      AshJi last edited by

      Hi,
      I have configured mailtrap.io to test the email feature. Have used same configuration in dev and production env. While emails are being sent out successfully in dev env, it is not so in production.

      User registration msg in production is as below. Pls not that msg does not even says "an email has been sent".

      6e7d66c0-63fd-420a-ab34-580ecac8242c-image.png 

      9b60d68b-ef5c-49b2-818c-a96d795d74b0-image.png
      856a74b7-2b15-4c13-8b2e-f171c8734afa-image.png 

      Debug message

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

        I had not enabled email notification flag for Customer. Hence there was no attempt to send verification email.

        But after enabling the flag, I get below msg "verification email unsent..." What cud possible be wrong now. I tried and /usr/bin/sendmail is also setup properly in GCP VM.

        c3531a87-0ff5-4745-b1ea-e3c13a1cd4ec-image.png

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

          Seems similar to issue as in this post https://forums.bagisto.com/topic/564/verification-email-cannot-send/6

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

            @AshJi
            can we get your website url if it's on live server so that we can check this on real time.

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

              Worked with @Vaishali-Agarwal (thanks a ton) to get to the root of the issue. Issues seems in setting the values in .env file.

              MAIL_DRIVER=smtp
              #MAIL_MAILER=smtp --removed this line
              MAIL_FROM_NAME=<OneWordNotSpace> -- I had it as "FName LName"

              After this run "php artisan config:cache"

              Above changes did the trick for me.

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