Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- From: "Michael Santovec" <michael_santovec@xxxxxxxxxxx>
- Date: Wed, 31 May 2006 19:21:34 -0700
What is being displayed is what you should be sending to the SMTP mail
server after the
SMTP RCVD: 354 Enter mail, end with "." on a line by itself
When the period on a line by itself is sent, the SMTP mail server
responds with the
SMTP RCVD: 250 2.0.0 k4UA9Wh1001734 Message accepted for delivery
From the debug, it appears that the code you are using already suppliesthe period
DEBUG SMTP SENT:
..
So you need to insert the programming code to send you message just
before the point that the period is sent. In your display sample, it
looks like you are supplying an extra period on the line after the
"manish". You don't want that since the code you are using already
supplies the line with a period by itself.
--
Mike - http://pages.prodigy.net/michael_santovec/techhelp.htm
<kapil.varshney@xxxxxx> wrote in message
news:1149064783.441113.310980@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks Michael for reply.I have progressed little bit.now I am getting
displayed following
-----------------
"From: tushar.mittal@xxxxxx
To: arunkhavate@xxxxxxxxx
Message-ID: <2200816.01149064515321
Subject: Order Confirmation Subject
MIME-Version: 1.0
Content-Type: text/plain; charset=u
Content-Transfer-Encoding: 7bit
MyHeaderName: myHeaderValue
manish.
.
"
---------------------------------
after "354 Enter mail, end with "." on a line by itself" but still
is not being sent to the recepients and I am not getting any error
message either.
Michael Santovec wrote:
354 Enter mail, end with "." on a line by itself
is a normal part of the SMTP protocol. At that point you send the
actual message. You send a line with just a period on it to indicate
that the you are done sending.
For more on the SMTP protocol, see:
ftp://ftp.isi.edu/in-notes/rfc2821.txt
--
Mike - http://pages.prodigy.net/michael_santovec/techhelp.htm
<kapil.varshney@xxxxxx> wrote in message
news:1148984770.179319.97160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I get this message when I try to send mail through java
code.Following
is the debug for it:
DEBUG: getProvider() returning
javax.mail.Provider[TRANSPORT,smtp,com.sun.
mtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
DEBUG: SMTPTransport trying to connect to host "10.220.43.82", port
25
DEBUG SMTP RCVD: 220 tay.ros.local ESMTP Sendmail
8.12.10+Sun/8.12.10;
Tue
ay 2006 11:09:32 +0100 (BST)
DEBUG: SMTPTransport connected to host "10.220.43.82", port: 25
DEBUG SMTP SENT: EHLO LS103966D
DEBUG SMTP RCVD: 250-tay.ros.local Hello
ls103966d.uk.intra.syntegra.com [
.36.127], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
DEBUG SMTP Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP Found extension "PIPELINING", arg ""
DEBUG SMTP Found extension "EXPN", arg ""
DEBUG SMTP Found extension "VERB", arg ""
DEBUG SMTP Found extension "8BITMIME", arg ""
DEBUG SMTP Found extension "SIZE", arg ""
DEBUG SMTP Found extension "DSN", arg ""
DEBUG SMTP Found extension "ETRN", arg ""
DEBUG SMTP Found extension "DELIVERBY", arg ""
DEBUG SMTP Found extension "HELP", arg ""
DEBUG SMTP: use8bit false
DEBUG SMTP SENT: MAIL FROM:<tushar.mittal@xxxxxx>
DEBUG SMTP RCVD: 250 2.1.0 <tushar.mittal@xxxxxx>... Sender ok
DEBUG SMTP SENT: RCPT TO:<kapil.varshney@xxxxxx>
DEBUG SMTP RCVD: 250 2.1.5 <kapil.varshney@xxxxxx>... Recipient ok
Verified Addresses
kapil.varshney@xxxxxx
DEBUG SMTP SENT: DATA
DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
DEBUG SMTP SENT:
.
DEBUG SMTP RCVD: 250 2.0.0 k4UA9Wh1001734 Message accepted for
delivery
DEBUG SMTP SENT: QUIT
.
- Follow-Ups:
- Next by Date: Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- Next by thread: Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- Index(es):
Relevant Pages
|
Loading