Announcement

Collapse
No announcement yet.

Error 500 Sending Email

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

  • Error 500 Sending Email

    Hi,
    ı use to latest version. i can get recieve emails. But i cant send email. Test Email is success in administrator. But i try to send email, i get error 500. How do I resolve it?
    Log records bottom:
    Code:
    [2015-06-12 14:25:47] Espo.ERROR: API [POST]:/:controller, Params:Array
    (
    [controller] => Email
    )
    , InputData: {"assignedUserId":"1","assignedUserName":"Serha n Yıldız","isRead":true,"isHtml":true,"status":"Send ing","teamsIds":["556258c5abed7cc24"],"teamsNames":{"556258c5abed7cc24":"MedyaZ"},"atta chmentsIds":[],"attachmentsNames":{},"attachmentsTypes":{},"to": "destek@medyaz.net","name":"Deneme","body":"De neme maili<br>","bodyPlain":"Deneme maili\n","from":"destek@medyaz.net","cc":"","bcc": "","parentType":"Account","parentName":null,"paren tId":null,"selectTemplateName":null,"selectTemplat eId":null} - Could not open socket [] []
    [2015-06-12 14:25:47] Espo.ERROR: Display Error: Could not open socket, Code: 500 URL: /api/v1/Email [] []

  • #2
    It seems like your hosting doesn't allow to open socket for fsockopen(). Please enable it via php.ini or contacting your hosting support.
    Job Offers and Requests

    Comment


    • #3
      Hi, my fscokopen setting in php.ini
      Code:
      ;;;;;;;;;;;;;;;;;;
      ; Fopen wrappers ;
      ;;;;;;;;;;;;;;;;;;
      
      ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
      ; http://php.net/allow-url-fopen
      allow_url_fopen = On
      
      ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
      ; http://php.net/allow-url-include
      allow_url_include = Off
      
      ; Define the anonymous ftp password (your email address). PHP's default setting
      ; for this is empty.
      ; http://php.net/from
      ;from="john@doe.com"
      
      ; Define the User-Agent string. PHP's default setting for this is empty.
      ; http://php.net/user-agent
      ;user_agent="PHP"
      
      ; Default timeout for socket based streams (seconds)
      ; http://php.net/default-socket-timeout
      default_socket_timeout = 60

      Comment

      Working...
      X