Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

500 5.5.0 Syntax error - line too long

Posted on 2004-10-21
5
Medium Priority
?
2,922 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Want to know how to use Exchange Server Eseutil command? Go through this article as it gives you the know-how.
As much as Microsoft wants to kill off PST file support, just as they tried to do with public folders, there are still times when it is useful or downright necessary to export Exchange mailboxes to PST files. Thankfully, it is still possible to e…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Suggested Courses

597 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