[ 
http://jira.xwiki.org/jira/browse/XWIKI-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_22237
 ] 

Vincent Massol commented on XWIKI-950:
--------------------------------------

sendMessage() method is now deprecated, see XWIKI-2057

> eMail (XWiki.sendMessage) defaults to illegal SMTP HELO
> -------------------------------------------------------
>
>                 Key: XWIKI-950
>                 URL: http://jira.xwiki.org/jira/browse/XWIKI-950
>             Project: XWiki Platform
>          Issue Type: Bug
>          Components: Other
>    Affects Versions: 1.0 B5
>         Environment: Linux Java1.5 Java1.6 Tomcat55 PostgreSql
>            Reporter: Tom Oehser
>             Fix For: Future
>
>   Original Estimate: 1 day
>  Remaining Estimate: 1 day
>
> SMTP HELO must (according to SMTP spec) be a Domain, (like 'jira.xwiki.org').
> Xwiki is defaulting it (if smtp_login is not set) to "XWiki 
> VersionInformation" in XWiki.sendMessage().
> Probably it should use InetAddress.getLocalHost().getHostName() for the 
> default domain.
> It might not even need the smtp_login configuration, 
> InetAddress.getLocalHost().getHostName() may always be correct for the SMTP 
> HELO.
> This was discovered because the Exim4 MTA is smart enough to reject
> HELO XWiki version 1.0-beta-5.2310
> -Tom

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to