Error 500 sending email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yberges
    Senior Member
    • Jul 2022
    • 174

    Error 500 sending email

    hello
    i set smtp to administration
    i am sure about about code and server (tested on 3 differents SMTP provider)
    when i send a test i have Erreur 500: Email sending error.
    how i can solve this ?
    regards
  • Jakub Grufik
    Senior Member
    • Aug 2022
    • 361

    #2
    Make sure all the information here is set correctly. I assume that you are using the button "SendTestEmail" for testing purposes, right?
    Attached Files

    Comment

    • yberges
      Senior Member
      • Jul 2022
      • 174

      #3
      yes as i say i test with 3 smtp account and click on test button i have same error for all

      Comment

      • victor
        Active Community Member
        • Aug 2022
        • 727

        #4
        Hi yberges,

        Please try to completely delete the email account from EspoCRM > then Rebuild system in Administration -> Rebuild > and recreate a new account with standard settings for SMTP.

        Comment

        • yberges
          Senior Member
          • Jul 2022
          • 174

          #5
          i try it but same
          1 i clean all value in email config
          2 i rebuild
          3 i add account
          same error

          Comment

          • victor
            Active Community Member
            • Aug 2022
            • 727

            #6
            Please send the logs of this error and a full screenshot.

            Comment

            • yberges
              Senior Member
              • Jul 2022
              • 174

              #7
              hello i have this error
              Code:
              [2022-12-02 12:30:57] ERROR: Email sending error: The input does not match the expected structure for a DNS hostname, The input does not appear to be a valid URI hostname, The input does not appear to be a valid local network name
              [2022-12-02 12:30:57] WARNING: Email sending:Email sending error.; 500
              ​

              Comment

              • shalmaxb
                Senior Member
                • Mar 2015
                • 1602

                #8
                provide your configuration please (computer, OS etc.)

                Comment

                • yberges
                  Senior Member
                  • Jul 2022
                  • 174

                  #9
                  its an online app gandi server linux
                  Version PHP 7.4.25 Succès
                  json On Succès
                  openssl On Succès
                  pdo_mysql On Succès
                  mbstring On Succès
                  zip On Succès
                  gd On Succès
                  iconv On Succès
                  curl On Succès
                  xml On Succès
                  xmlwriter On Succès
                  exif On Succès
                  max_execution_time 180 Succès
                  max_input_time 60 Échouer (180 est recommandé)
                  memory_limit 192M Échouer (256M est recommandé)
                  post_max_size 128M Succès
                  upload_max_filesize 128M Succès
                  Version MySQL 8.0.18-9 Succès
                  Nom d'hôte localhost Succès
                  Nom de la base de données espocrm01 Succès
                  Nom d'utilisateur euro-pharmat01@localhost Succès
                  /srv/data/web/vhosts/espo.euro-pharmat.fr/htdocs/data Enregistrable Succès
                  /srv/data/web/vhosts/espo.euro-pharmat.fr/htdocs/application/Espo/Modules Enregistrable Succès
                  /srv/data/web/vhosts/espo.euro-pharmat.fr/htdocs/client/custom Enregistrable Succès
                  /srv/data/web/vhosts/espo.euro-pharmat.fr/htdocs/client/modules Enregistrable Succès
                  /srv/data/web/vhosts/espo.euro-pharmat.fr/htdocs/custom/Espo/Custom Enregistrable Succès

                  Comment

                  • yberges
                    Senior Member
                    • Jul 2022
                    • 174

                    #10
                    hello please somebody can help me ?

                    Comment


                    • lazovic
                      lazovic commented
                      Editing a comment
                      Please tell me what version of EspoCRM are you using?
                  • yberges
                    Senior Member
                    • Jul 2022
                    • 174

                    #11
                    Espo 7.0.8

                    Comment

                    • Jakub Grufik
                      Senior Member
                      • Aug 2022
                      • 361

                      #12
                      I would suggest to create some email account for testing purposes for example login: test@yourdomain.com pw: test1234 and provide us important information like SMTP host, port, security etc.(via email if you want it to be more private), so we can test it on our own and we can find out if the problem is connected with your system or you are inserting wrong values somehow.

                      Comment

                      • yberges
                        Senior Member
                        • Jul 2022
                        • 174

                        #13
                        hello thanks for propose
                        i send you an account Jakub Grufik

                        Comment

                        • yberges
                          Senior Member
                          • Jul 2022
                          • 174

                          #14
                          Sorry to bump it ... But i am already blocked by this...
                          thanks for any help I try gmail SMTP, and pro SMTP nothing more
                          In same serveur i have a joomla CMS and i use same credential for SMTP rules no sending error
                          Regards

                          Comment

                          • Jakub Grufik
                            Senior Member
                            • Aug 2022
                            • 361

                            #15
                            hello mate, I cannot see the messages you sent me. I see notification but I got error when trying to open the message

                            Comment

                            Working...