what does this mean?
-
i have this in my code:
properties props = new properties();
props.put("mail.transport.protocol", "smtps");How do i replace those "properties.put" without having to use the properties ?
-
i have this in my code:
properties props = new properties();
props.put("mail.transport.protocol", "smtps");How do i replace those "properties.put" without having to use the properties ?
-
cool - it took just 2 weeks to figure out properties - fantastic! You can write your own properties-file. It is a basic ASCII text file. Or you save your data on an object. This requires programming. regards Torsten
I never finish anyth...
yes i managed to figure out. i am teaching myself programming. Yes i manage to learn how to write a properties file alrdy..
-
i have this in my code:
properties props = new properties();
props.put("mail.transport.protocol", "smtps");How do i replace those "properties.put" without having to use the properties ?
pancakeleh wrote:
How do i replace those "properties.put" without having to use the properties ?
What does this sentence mean? Are you saying that you want to write into your
properties file
without using theproperties
class?I must get a clever new signature for 2011.
-
pancakeleh wrote:
How do i replace those "properties.put" without having to use the properties ?
What does this sentence mean? Are you saying that you want to write into your
properties file
without using theproperties
class?I must get a clever new signature for 2011.
oh the "prooperties.put" refers to writing to the properties file without having to key it in the properites file?
modified on Monday, January 31, 2011 8:27 PM
-
oh the "prooperties.put" refers to writing to the properties file without having to key it in the properites file?
modified on Monday, January 31, 2011 8:27 PM
pancakeleh wrote:
oh the "prooperties.put" refers to writing to the properties file without having to key it in the properites file?
:doh: The key is "mail.transport.protocol" and the value is "smtp".
Cédric Moonen Software developer
Charting control [v3.0] OpenGL game tutorial in C++ -
oh the "prooperties.put" refers to writing to the properties file without having to key it in the properites file?
modified on Monday, January 31, 2011 8:27 PM
-
i have this in my code:
properties props = new properties();
props.put("mail.transport.protocol", "smtps");How do i replace those "properties.put" without having to use the properties ?
for this line of code: this line sets the properties for sending mail. like u can put smtp.gmail.com (set host)for sending mail from gmail account.. and second argument is for port for gmail 587/465 default port is 25/26. got it ? you can ask me for more information