Bagisto Forum

    Bagisto

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

    bagisto email functionality provide ????

    General Discussion
    2
    2
    279
    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
      Darshan last edited by

      can you help me how to work email
      ex. order place
      i don't get now any email

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

        Hi Darshan,

        1. You need to set mail parameters in .env file for mail functionality.

        MAIL_DRIVER=
        MAIL_HOST=
        MAIL_PORT=
        MAIL_USERNAME=
        MAIL_PASSWORD=
        MAIL_ENCRYPTION=
        SHOP_MAIL_FROM=
        ADMIN_MAIL_TO=

        1. When order successfully created then we fire this event with order data like -
        Event::fire('checkout.order.save.after', $order);
        

        and listening this event in Webkul\Admin\Listeners\Order@sendNewOrderMail

        and calling a function ' sendNewOrderMail ' to send mail of order placed.

        Thanks

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