Link to home
Start Free TrialLog in
Avatar of suprapto45
suprapto45Flag for Singapore

asked on

Send Email

Hi guys,

This question is related to my previous question. I am creating Intranet using JSP and Struts framework. Now, I want to be able to send email to some of the email addresses, how can I do that?

Thanks.
SOLUTION
Avatar of zzynx
zzynx
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of suprapto45

ASKER

Thank you.

Do I need someother tool such as email server or etc ?
Can anyone tell me how to configure it out in my network? I have one webserver, one database server and many client PC.
Avatar of sudhakar_koundinya
sudhakar_koundinya

and you must have one mail server to send the mail to external mail server

if u are using Winmdows IIS smtp will help you

If u are on Linux Box, It contains default mail server

As suggested in above example
 public static void main(String[] args) throws Exception {
            // Send a test message
            send("192.12.0.1", 25, "joe@smith.com", "sue@smith.com",
                 "re: dinner", "How about at 7?");
        }

where 192.12.0.1 is where ur mail server is installed
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks for accepting