Announcement

Collapse
No announcement yet.

Error 500 while sending email

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error 500 while sending email

    I have install software successfully but when i send email then it displays Error 500
    But it displays all emails in All folder
    IN error log file it display error i.e.
    PHP Fatal error: Call to undefined function in CRM/vendor/zendframework/zend-mail/src/Header/HeaderWrap.php on line 106

  • #2
    screenshots for error
    Attached Files

    Comment


    • #3
      enable extension=iconv.so in your php.ini file.

      Comment


      • #4
        Thanks Tanya now it is working fine

        Comment


        • #5
          Have a same problem "Ошибка 500: Could not open socket" after php update to PHP 5.6.37

          for using your solution i have warning msg
          PHP message: PHP Warning: Module 'iconv' already loaded in Unknown on line 0

          Comment


          • #6
            Your error is not the same...
            Google about "Could not open socket"

            Comment


            • #7
              mistic problem)
              What i have:
              - centos 6
              - php 5.6.38
              - nginx
              - EspoCRM 4.8.4 (cant update because i use custom integration modules)
              OpenSSL installed and work ok.
              I can connect to 465 port by console.
              And i still have Ошибка 500: Could not open socket

              Comment


              • #8
                from mailserverside i have this answer
                Oct 8 11:26:06 SRV1 postfix/smtpd[25244]: connect from unknown[82.146.60.108]
                Oct 8 11:26:06 SRV1 postfix/smtpd[25244]: SSL_accept error from unknown[82.146.60.108]: 0
                Oct 8 11:26:06 SRV1 postfix/smtpd[25244]: warning: TLS library problem: error:14094418:SSL routines:SSL3
                _READ_BYTES:tlsv1 alert unknown ca:/usr/src/secure/lib/libssl/../../../crypto/openssl/ssl/s3_pkt.c:1256:S
                SL alert number 48:
                Oct 8 11:26:06 SRV1 postfix/smtpd[25244]: lost connection after CONNECT from unknown[82.146.60.108]
                Oct 8 11:26:06 SRV1 postfix/smtpd[25244]: disconnect from unknown[82.146.60.108] ehlo=1 auth=1 mail=1 rc
                pt=1 data=1 quit=1 commands=6

                Whey told me i have to turn off cert checking. How can i do that?

                Comment


                • #9
                  do you need additional params to connect or maybe fix ehlo?

                  Comment


                  • #10
                    i think additional params can let me turn off cert checking while connection

                    Comment


                    • #11
                      it is look like a problem with self-signed sert. Any solution?

                      Comment


                      • #12
                        Originally posted by tanya View Post
                        enable extension=iconv.so in your php.ini file.
                        I am running Espo on Ubuntu 16 and PHP 7 and I don't find extension=iconv.so in my php.ini file. I found these iconv :


                        [iconv]
                        ; Use of this INI entry is deprecated, use global input_encoding instead.
                        ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
                        ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
                        ;iconv.input_encoding =

                        ; Use of this INI entry is deprecated, use global internal_encoding instead.
                        ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
                        ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
                        ;iconv.internal_encoding =

                        ; Use of this INI entry is deprecated, use global output_encoding instead.
                        ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
                        ; The precedence is: default_charset < output_encoding < iconv.output_encoding
                        ; To use an output encoding conversion, iconv's output handler must be set
                        ; otherwise output encoding conversion cannot be performed.
                        ;iconv.output_encoding =

                        Comment


                        • #13
                          Hi ivanhorvat,
                          Do you have the same error upon the email sending process? Please investigate your EspoCRM log file to get the error description https://docs.espocrm.com/administrat...crm-error-logs.
                          Also, you mentioned that you are using PHP 7. Please provide the next information:
                          1. What exact PHP version do you use (7.0, 7.1, 7.2, etc.)?
                          2. What EspoCRM version do you use?
                          3. Provide screenshot with your SMTP configs.

                          Comment

                          Working...
                          X