[
http://jira.xwiki.org/jira/browse/XWIKI-950?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_22239
]
Przemyslaw Bielicki commented on XWIKI-950:
-------------------------------------------
I'm not expert on commons Email vs. JavaMail differences - if it works for you,
you're golden :)
I'm not quite sure we are on the same page as far as email notification is
concerned.
Let's use following user story:
# User is responsible for installing and configuring XWiki within corporate
network.
# User cannot install/setup own sendmail (or other mail server)
# User knows SMTP IP address, user name and password (in order to authenticate
to SMTP server)
And here's the problem because XWiki config _Preferences -> Registration_ does
not allow user to specify *password* for SMTP user name. Having the password it
basically doesn't matter which library (Email, JavaMail, etc.) you use.
Do you know any workaround (except installing my own sendmail server) that will
allow my XWiki to send notification/registration emails.
Cheers,
Przemek
PS. I could help in coding it but first I'll have to get familiar with XWiki
code, setup dev environment, etc.
> 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