commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Speakmon (JIRA)" <>
Subject [jira] Commented: (EMAIL-9) [email] Issue with host settings in a shared Server environment
Date Tue, 02 Jan 2007 22:22:27 GMT


Ben Speakmon commented on EMAIL-9:

I don't see anything obviously wrong in the code; I modified the test case to perform these
exact steps and it still passed.

Is this still a problem?

> [email] Issue with host settings in a shared Server environment
> ---------------------------------------------------------------
>                 Key: EMAIL-9
>                 URL:
>             Project: Commons Email
>          Issue Type: Bug
>         Environment: Operating System: other
> Platform: All
>            Reporter: Paul J DeCoursey
> So the quick and dirty is I'm setting up an HTMLEmail and the server is in a
> shared environment, there is another site on the server using commons-email, and
> I have no control over that site.  I set the hostname and the authentication but
> after that it's taking the settings from the System.properies. Below is a snip
> from my code.
> org.apache.commons.mail.HtmlEmail email = new org.apache.commons.mail.HtmlEmail();
> email.setHostName(server);
> email.setAuthentication(username, password);
> After that point I can get the session:
> Session sess = email.getMailSession();
> sess.getProperty("");
>  and the result of the getProperty("") does not equal the setting
> from the above server variable.  It is now set to the value from
> System.propeties, again, not my setting.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message