I believe the properties file is just a default value, you can pass in a
different address with the method call

Ivan

----- Original Message -----
From: "Hunter Hillegas" <[EMAIL PROTECTED]>
To: "JBoss 2" <[EMAIL PROTECTED]>
Sent: Saturday, June 23, 2001 11:10 AM
Subject: [JBoss-user] Using the Included JavaMail


> I read through the section on using JavaMail in JBoss. I have a need to
have
> the "from" address set programatically, not in the conf file. Can I do
this?
> In the example there is a call to m.setFrom(); but it's not passing
anything
> and the docs indicate that you set that in mail.properties.
>
> Additionally, there is someone's email info in the stock distribution, in
> case anyone wants to make the defaults something more non-specific. :-)
>
> Hunter
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to