how can send mail without authentication

Hi all,

I am trying to send mail on gmail using java mail API.

It need to authenticate first, can anybody explain why it need to

authenticate .

Please Reply

Thanks in advance.

Amit

[230 byte] By [amitpanwara] at [2007-11-27 10:30:42]
# 1

http://java.sun.com/products/javamail/FAQ.html#smtpauth

http://java.sun.com/products/javamail/javadocs/com/sun/mail/smtp/package-summary.html

Probably it will help.

Ramki

passion_for_javaa at 2007-7-28 18:04:38 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

You're confused about "why"?

Well, so that it knows who is sending the message and not just anyone

can connect and send spam.

bshannona at 2007-7-28 18:04:38 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...