doubt in JavaMail
ive read the java mail.
in that i cant understand this line can u help me
props.put[u]("mail.smtp.host",[/u] [u]"your.smtp.host")[/u];
is that it is necessary to create smtp server for this.
can we send without creating the smtp server.
in our company we are using the Lotus Notes can we access that server to send message. if yes then say how it is possible.
You have to specify the smtp host that you're sending mail from.
So if your mail server is on yahoo.com, you can do:
props.put("mail.smtp.host", "mail.yahoo.com");
If I'm not mistaken, I don't think Lotus Notes is relevant in this context--you're looking for the hostname of the server that sends mail, not the name of the software program used to send e-mail.
You also may have to specify the username & password if you want to log in to that machine.