Error 200: Invalid address format

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lex
    Junior Member
    • Feb 2016
    • 4

    Error 200: Invalid address format


    Hello
    Install and configure CRM, after setting I noticed a mistake, do not come reminders for appointments and tasks, as well as not a test email is sent. Writes error Invalid address format immediately after installing the set off, and now there is. It turned out that in addFromString function comes empty variable $ address, in logs error sending e seen at what point is lost the address, and how to fix it?

    __________________________________________________ ___________________________________________-

    [2016-02-05 11:58:28] Espo.ERROR: API [POST]:/:controller/action/:action, Params:Array
    (
    [controller] => Email
    [action] => sendTestEmail
    )
    , InputData: {"server":"smtp.masterhost.ru","port":465,"auth":t rue,"security":"SSL","username":"sales@adviana.ru" ,"password":"*****","fromName":"TEST","fromAddress ":"no-reply@site.ru","type":"outboundEmail","emailAddres s":"sales@site.ru"} - Invalid address format [] []
    [2016-02-05 11:58:28] Espo.ERROR: Display Error: Invalid address format, Code: 0 URL: /api/v1/Email/action/sendTestEmail [] []
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi

    I can't reproduce. Can you help me with a proper fix?
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • Lex
      Junior Member
      • Feb 2016
      • 4

      #3
      error occurs when you try to send a test email from SMTP settings

      Comment

      • Lex
        Junior Member
        • Feb 2016
        • 4

        #4
        I found a function that returns an error, this function addFromString ($ address) in the file /vendor/zendframework/zend-mail/src/AddressList on line 94

        The error occurs because the variable $address returns null

        Comment

        Working...