🔴 January 2024 Alert: Forum support inactive!
New forum registration are currently closed.
Use GitHub discussions
.

    UVdesk

    • Login
    • Search
    • Recent

    Solved Warning ! Swiftmailer not working. An error has occurred while sending emails!

    Technical Help
    2
    5
    1617
    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 Former User last edited by

      Get the error in the title both when an employee tries to register a ticket and when an agent replies to a ticket.

      From my research online, here is the file that may pertain to this error, if someone has the solution or whatever I am missing I would really appreciate it, I think if this is sorted we can finally launch uvdesk on our organisation.

      swiftmailer.yaml:

      swiftmailer:
          default_mailer: mailer_4157
          mailers:
              mailer_4157:
                  transport: smtp
                  username: helpdesk@ourfakedomain.com
                  password: apasswordiscontainedhere
                  host: smtp.livemail.co.uk
                  port: 465
                  encryption: ssl
                  auth_mode: login
                  sender_address: helpdesk@ourfakedomain.com 
                  delivery_addresses: ['']
                  disable_delivery: false
                  stream_options:
                      ssl:
                          verify_pear: false
                          verify_pear_name: false
      

      If information from any other files is required please let me know

      Komal Sharma 1 Reply Last reply Reply Quote 0
      • Komal Sharma
        Komal Sharma UVdesk Staff mod @Guest last edited by Komal Sharma

        @ReeceLER

        Get the error in the title both when an employee tries to register a ticket and when an agent replies to a ticket.

        Let us know, which version of uvdesk you are using.
        Also, share a screenshot of email settings or shared uvdesk.yaml file.
        Once you check again your app password in swiftmailer and mailbox option.
        After configuration you will clear cache of project using the below command:

        $ php bin/console c:c
        
        ? 2 Replies Last reply Reply Quote 0
        • ?
          A Former User @Komal Sharma last edited by

          @Komal-Sharma

          I am using the latest version of uvdesk, although I am not sure how to check for sure.

          The uvdesk.yaml file:

          parameters:
              app_locales: en|fr|it|de|da|ar|es|tr|zh|pl
              
              # Default Assets
              assets_default_agent_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-batman.png'
              assets_default_customer_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-ironman.png'
              assets_default_helpdesk_profile_image_path: 'bundles/uvdeskcoreframework/images/uv-avatar-uvdesk.png'
          
              uvdesk_site_path.member_prefix: Member
              uvdesk_site_path.knowledgebase_customer_prefix: Employee
              
              # File uploads constraints
              # @TODO: Set these parameters via compilers
              max_post_size: 8388608
              max_file_uploads: 20
              upload_max_filesize: 2097152
          
          uvdesk:
              site_url: '192.168.0.154/uvdesk'
              upload_manager:
                  id: Webkul\UVDesk\CoreFrameworkBundle\FileSystem\UploadManagers\Localhost
              
              support_email:
                  id: helpdesk@ourfakedomain.com
                  name: Helpdesk Team
                  mailer_id: mailer_4157
              
              # Default resources
              default:
                  ticket:
                      type: support
                      status: open
                      priority: low
                  templates:
                      email: mail.html.twig
          
          

          What exactly is the app password meant to be? Is this the password I used to login? Or something else?

          Komal Sharma 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @Komal Sharma last edited by

            @Komal-Sharma
            I also get the following when I try and run the php command:

            /var/www/uvdesk/config/packages$ sudo php bin/console c:c
            Could not open input file: bin/console

            1 Reply Last reply Reply Quote 0
            • Komal Sharma
              Komal Sharma UVdesk Staff mod @Guest last edited by

              @ReeceLER

              What exactly is the app password meant to be? Is this the password I used to login? Or something else?

              The app password is not the same of your login email address. It is a create from your email for the set up of swiftmailer, mailbox and email settings for sending emails.
              For checking how to create app password in outlook you can follow the blog here.

              I also get the following when I try and run the php command:
              /var/www/uvdesk/config/packages$ sudo php bin/console c:c
              Could not open input file: bin/console

              This error showing because your project path is wrong. The project path should be only /var/www/uvdesk/ instead of this /var/www/uvdesk/config/packages:

              1 Reply Last reply Reply Quote 0
              • Topic has been marked as solved  peopleinside peopleinside 
              • First post
                Last post