cancel
Showing results for 
Search instead for 
Did you mean: 

Sending mails

Former Member
0 Kudos

Hi To all,

i am implementing a application in Web dynpro using java, my application has two errors , which are :

1. when i am sending mails to the gmail or yahoo,instead of my local intranet excahnge server it is not sending the mails and giving errors as the email address is not valid.

2. in every single case in which i am able to send mails to the local intranet excange server. after successful execution of the application i am getting java.lang.IllegalStateException.

So can u please help me.....

With Regrards

Kapil Avasthi

Accepted Solutions (0)

Answers (1)

Answers (1)

lajitha_menon
Contributor
0 Kudos

Hi,

> . when i am sending mails to the gmail or

> yahoo,instead of my local intranet excahnge server it

> is not sending the mails and giving errors as the

> email address is not valid.

-Check whether SMTP host and port are given correctly in your program. Check from and To addresses. Check whether yuo are able to send emails through this smtp server outside of this application(eg: through Outlook).

> 2. in every single case in which i am able to send

> mails to the local intranet excange server. after

> successful execution of the application i am getting

> java.lang.IllegalStateException.

- which version are you in? Did you recently upgrade your system? Are all the hotfixes applied?