?
Solved

500 5.5.0 Syntax error - line too long

Posted on 2004-10-21
5
Medium Priority
?
2,936 Views
Last Modified: 2012-06-27
We are using VB .NET code to send out emails.  Occasionally we get one back with the above error.  What does it mean?
0
Comment
Question by:rkanter
  • 3
  • 2
5 Comments
 
LVL 3

Expert Comment

by:PLeclair
ID: 12373329
In your Windows\System32\logfiles folder you should see a directory for SMTP..
Find the log that has the date of the error, open the log with notepad and do an edit/find search for "500 " or "5.5.0 "
You want to find the command that was issued, so it should be on the same line or the one above it just prior to the 5.5.0 error.
You may have to open IIS or in ESM's Protocols/SMTP branch and augment the details for the logging you are collecting.
You basically want to add all logging options using w3c format.
Once you have found the offending command, review your VB code to find the anomaly.

Thanks
Paul
0
 

Author Comment

by:rkanter
ID: 12373496
I forgot to point out that the email is addressed to several people.  Some get it without a problem.  There error is generated by the recipients email server not by ours.
0
 

Author Comment

by:rkanter
ID: 12373503
When it says 'line too long," what line iint the email s it talking about?
0
 
LVL 3

Accepted Solution

by:
PLeclair earned 500 total points
ID: 12373699
Generally anything issued in the command...

Basically an SMTP session start with
1. HELO or EHLO (extended SMTP)
2. Then it issues a FROM command when you provide the senders address
3. Then it issues an RCPT TO: command to designate the recipient, this command will have e-mail addresses in it etc..
4. Then it should issue a DATA command, followed by the message body..
5. Then it should issu a QUIT

So really, the likely places your code is messing up on are either CR carriage returns between commands, or the FROM, RCPT TO or DATA commands.. the EHLO and QUIT commands don't pass any parameters so I doubt those commands would have any relation to the problem..  
Thx
Paul
0
 

Author Comment

by:rkanter
ID: 12373763
That helps.  I amm going out of town until Monday.  I will let you know what I find.
Thanks,
-Ron
0

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft Jet database engine errors can crop up out of nowhere to disrupt the working of the Exchange server. Decoding why a particular error occurs goes a long way in determining the right solution for it.
This article explains how to move an Exchange 2013/2016 mailbox database and logs to a different drive.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Suggested Courses

588 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question