[Tickets #13608] Re: "Address is missing domain" when sending mail

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Oct 17 17:34:51 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: https://bugs.horde.org/ticket/13608
------------------------------------------------------------------------------
  Ticket             | 13608
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | "Address is missing domain" when sending mail
  Queue              | IMP
  Version            | 6.2.2
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2014-10-17 11:34) wrote:

> The results were that at line 401, $host is 'mail at gmail.com',  
> (screen 1) and $ob->host is set to that. (screen 2)

Your first two examples don't prove anything.  It looks like they  
aren't even triggered since the error message displayed in the UI does  
not match up with the text/type of Exception thrown.

Instead of using exceptions, it is much easier to use Horde::debug().   
(see below).  You should dump the contents of both $ob and $this.

My guess is that $this->_rfc822ParseDomain() is called and $host is  
empty, so the strlen($host) fails and $ob->host is never set (why it  
is null).



Horde::debug() documentation: http://wiki.horde.org/Doc/Dev/DebugH4





More information about the bugs mailing list