Poonam Kadu wrote:I guess it's not prohibitting to send external mails because using my org's mailid i can send mail to gmail mailID's.\
Not necessarily. Your normal e-mail server is able to do that. If you are using a different one for the
Java program, the rules could be more restrictive. Where I work, some servers can send external mail and some can't.