Pierre is right... I guess mostly the outgoing mailserver is the one
whose domain is granted access to the destination mail server...so
Sending it directly may give relay errors.
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]] On Behalf Of
Pierre-Yves Saumont
Sent: Friday, September 07, 2001 1:54 PM
To: [EMAIL PROTECTED]
Subject: Re: sending mail without going through mail server
OK, this is a different question. So you want to connect to a mail
server, but you want to conect directly to the mail server in the domain
of the recipient.
This is simple in theory : connect to port 25 in the recipient domain
and talk directly to his mail server. Most mail servers are configure to
refuse mail from out domain senders, or to refuse mail if the sender has
not POPed recently. However, this limitation doesn't apply to mail send
to recipients in the domain of the mail server (or in domains served by
the mail server)
That's is the way most bulk emailers work to send spam.
Pierre-Yves
-----Message d'origine-----
De : A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]De la part de
bogdan sava Envoy� : vendredi 7 septembre 2001 10:04 � :
[EMAIL PROTECTED] Objet : Re: sending mail without going
through mail server
"Sending mail" means "connecting to a mail server" and "sending it
commands and data" and this server send message to destination mail
server, from where is readed by mail client. All I want is to connect
direc to destinaton server and pass it my message.....
----- Original Message -----
From: "Pierre-Yves Saumont" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 07, 2001 10:10 AM
Subject: Re: sending mail without going through mail server
> Hi,
>
> "Sending mail" means "connecting to a mail server" and "sending it
commands
> and data". Asking this question is like asking how to drive a car
> without using a car.
>
> The only way is to connect to another (non mail) server that will
> forward your mail to a mail server. But wouldn't this other server
> deserve the
name
> "mail server" ?
>
> If you can explain what you really want to do (including why you want
> to
do
> it that way and what you want to avoid), it will be much easier to
> help
you.
>
> Pierre-Yves
>
>
> -----Message d'origine-----
> De : A mailing list for discussion about Sun Microsystem's Java
> Servlet
API
> Technology. [mailto:[EMAIL PROTECTED]]De la part de bogdan
sava
> Envoy� : vendredi 7 septembre 2001 08:10
> � : [EMAIL PROTECTED]
> Objet : sending mail without going through mail server
>
>
> Does any one knows how can I send mail from servlet without going out
> through an mail server ???? Is this posible ????????
> Thanks !!!!
>
>
________________________________________________________________________
___
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
> http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
>
________________________________________________________________________
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
________________________________________________________________________
___
To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html