Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- From: "Manish" <manish.7.sharma@xxxxxx>
- Date: 1 Jun 2006 04:31:28 -0700
I get the following debug message:-
----------------------------------message
starts-----------------------------------------------------------------------
DEBUG: setDebug: JavaMail version 1.4ea
DEBUG: getProvider() returning
javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "10.220.36.127", port 25, isSSL
false
220 mail.bt1.com ESMTP (Code-Crafters Ability Mail Server 2.56)
DEBUG SMTP: connected to host "10.220.36.127", port: 25
EHLO LS103966D
250-mail.bt1.com
250-PIPELINING
250-8BITMIME
250-AUTH PLAIN LOGIN CRAM-MD5 CRAM-SHA1
250 OK
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "AUTH", arg "PLAIN LOGIN CRAM-MD5
CRAM-SHA1"
DEBUG SMTP: Found extension "OK", arg ""
DEBUG SMTP: use8bit false
MAIL FROM:<manish.7.sharma@xxxxxx>
250 Email address accepted. <manish.7.sharma@xxxxxx>
RCPT TO:<manish.7.sharma@xxxxxx>
250 Email address accepted. <manish.7.sharma@xxxxxx>
DEBUG SMTP: Verified Addresses
DEBUG SMTP: manish.7.sharma@xxxxxx
DATA
354 Please send the data and end with a <CRLF>.<CRLF>.
From: manish.7.sharma@xxxxxx
To: manish.7.sharma@xxxxxx
Message-ID: <1755041.01149161077440.JavaMail.sharmma@LS103966D>
Subject: Test Mail
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
MyHeaderName: myHeaderValue
Hello
..
250 Mail accepted and queued for delivery.
QUIT
221 Thank you and good bye.
Sucessfully Sent mail to All Users
------------------------message
ends----------------------------------------------
but mail is not delivered to the recepient and I don't get any error
message either.can anyone tell me whether my mail is sent till SMTP
server or not?My SMTP server is on intranet and there is a firewall in
between.is this the issue that it doesn't connect to exchange server
which is on internet.If this is the issue then what should I do so that
my SMTP delivers mails to exchange servers.And is there anyway through
which I can check emails on SMTP server to verify these are through
SMTP are not???
Michael Santovec wrote:
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 supplies
the 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:
- Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- From: Michael Santovec
- Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- References:
- Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- From: Michael Santovec
- Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- Prev by Date: Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- Next by Date: Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- Previous by thread: 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
|