Hi All,
I have to send mails from SMTP server which has been configured on my Portal Server.
Can any body tell me how I can read the SMTP server host name using Web Dynpro/Java API?
Regards,
Sruti
Request clarification before answering.
Hi,
Use this statement to get the smtp and host name.
String mailHost = System.getProperty("mail.smtp.host");
String Host = System.getProperty("HostName");
Check the system properties for more information through system information.
Thanks and Regards,
Manjunath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.